Generated from C.60.01 /SYS/PUB/CICAT last modified on Thu Jan 11 09:18:52 2001
Terminates a WHILE block. (NM)
ENDWHILE
None.
This command terminates a conditional block that begins with
a WHILE command. The WHILE and ENDWHILE commands
constitute a WHILE block. The WHILE command evaluates an
expression, and so long as that expression evaluates as
true, the command(s) between WHILE and ENDWHILE are
executed. If the expression evaluates as false, execution of
the WHILE block ceases and execution passes to the command
following ENDWHILE. Execution terminates if any command
not protected by a preceding CONTINUE causes an error.
This command may be issued from a session, job, or in BREAK, or
from a program. Pressing [Break] terminates the WHILE command
loop.
Refer to the WHILE command.
Commands: WHILE Back to Main Index