以下の例は、キーボードが挿入モードであると OIA が示すかどうかを 判別する方法を示します。

//-------------------------------------------------------------------
// ECLOIA::IsInsertMode
//
// Determine status of connection 'A' OIA indicator
//-------------------------------------------------------------------
void Sample54() {
 
ECLOIA OIA('A');   // OIA object for connection A
 
if (OIA.IsInsertMode())
  printf("InsertMode.\n");
else
  printf("Not InsertMode.\n");
 
} // end sample