Programming with Reflection

image\rwnprg32.gif WaitForTerminalKey method


Syntax object.WaitForTerminalKey Key, Timeout



Begins a wait that can be satisfied by the execution of the specified terminal function. The procedure containing the command is paused until the wait expires or is satisfied.


Key Argument type: Enumeration
The terminal function that is executed to terminate the wait. You can specify a particular terminal key (Click here to see a list of terminal keys for 3270 terminals, or here to see a list of terminal keys for 5250 terminals), or use rcAnyTerminalKey to check for any terminal keystroke.

Timeout Argument type: String
Specifies an interval of time in HH:MM:SS format. If this method times out, an error is returned.


image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command