示例
以下示例展示了如何确定 OIA 是否指示游标位于数字位置。
//-------------------------------------------------------------------
// ECLOIA::IsNumeric
//
// Determine status of connection 'A' OIA indicator
//-------------------------------------------------------------------
void Sample52() {
ECLOIA OIA('A'); // OIA object for connection A
if (OIA.IsNumeric())
printf("Numeric.\n");
else
printf("Not Numeric.\n");
} // end sample