waitForAID (2)
Waits for the specified AID key to be pressed, before returning control. This method loops, receiving input from the terminal, until the correct AID key is pressed by the operator.
void waitForAID(AIDVal aid)
- aid
- An enumeration, defined in this class, that indicates which AID key was last pressed.
Conditions
EOC, INVREQ, LENGERR, NOTALLOC, SIGNAL, TERMERR