Skip to content

WAIT

FUNCTION

The WAIT command suspends script execution for a defined period of time specified in seconds.

SYNTAX

WAIT numeric-value

numeric-value a numeric data name, variable, constant, or expression that results in a positive integer.

This integer specifies the number of seconds to suspend execution.

EXAMPLES

WAIT 5
DN TIME-TO-WAIT(4.0)
MAIN-LINE
LET TIME-TO-WAIT = 10
WAIT TIME-TO-WAIT

From the Script-IV Language Reference, version 8.9.1. Open this page in the PDF