Example

The following example shows how to determine if the OIA indicates that the keyboard is in insert mode.

//-------------------------------------------------------------------
// 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