WHILE
System Testing Supervisor Script Language.
Syntax
WHILE expression
instructions
END WHILE
Purpose
The WHILE instruction creates an execution loop.
Example
HOST machine IS 193.6.2.1
EXECUTE proc_1 IS machine:program
i = 1
WHILE !ENDOF ( proc_1 )
PAUSE 1
i = i + 1
END WHILE
j = STATUS ( proc_1 )
PRINT "execution time: "
PRINTLN i
PRINT "return code: "
PRINTLN j
Related Topics