Example

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

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