WAIT (T3000 only)
Purpose: To pause program execution.
Format:
|
WAIT expression
|
|
Examples:
|
10 START OUT2
|
|
|
20 WAIT 0:10
|
|
|
30REM WAIT 10 MINUTES AT LINE 20
|
|
|
40WAIT 00:00:10
|
|
|
50REM WAIT 10 SECONDS AT LINE 30
|
|
|
60WAIT 150
|
|
|
70REM WAIT 1 HOUR AND 30 MINS AT LINE 40
|
|
|
80WAIT A + B * AVG ( C , D )
|
|
|
90REM WAIT WHATEVER THE EXPRESSION EVALUATES TO
|
|
Note:
This statement is handy for controlling timing sequences. Other programs in the panel will not be affected, only the program where the statement appears will be suspended.