tcl.inputwait Verb: Access/TCL


Command tcl.inputwait Verb: Access/TCL
Applicable release versions: AP, AP 6.1
Category TCL (746)
Description waits for any character input and falls through or if it times out it executes the command(s).

"delay" The delay time in seconds.

"text" Optional text to be displayed before the input. The text is in the format accepted by the "display" command.

"command" One or more commands, separated by semicolons, executed if a character is entered within the specified time.
Syntax inputwait delay ; {text} ; command { ; command ...}
inputwait 10;@(-13)Type any key to stop logoff ... @(-14)+; off

Displays a highlighted message with no carriage return, waits for 10 seconds 
for any key to be hit. If no keys are hit within that time, the 'off' 
command is executed.
Related tcl.display