SET INPUT TIMEOUT
Controls how long a FORM or MENU INPUT command waits for user interaction.
Syntax
SET INPUT TIMEOUT [num]
Parameters
num | The number of seconds to wait for user input. Can be an integer constant (e.g., 15, 200); a variable, form field, or parameter that evaluates to an integer. Valid values for num range from -1 to 32000. Specifying a value of -1 instructs the software to wait indefinitely for user interaction. |
Comments
The INPUT TIMEOUT option is set to -1 by default, instructing the software to wait indefinitely for user interaction after an input request.
If user interaction does not occur before the timeout period expires, the input request terminates and program execution resumes at the next command.
When a timeout period expires, the following system variables are affected:
- Event.EventName is assigned the value “Timeout”
- Event.EventType is assigned the value “System”
Note that the SET INPUT TIMEOUT value is not restored on a SET RESTORE.
See Also