NET/MASTER Network Control Language (NCL) Programmer's Guide
Single and Repetitive Execution
Controlling Execution Flow
106160 Tandem Computers Incorporated 5–15
The following screen shows the results of executing the procedure:
(11:33) --------------------- OPERATOR CONTROL SERVICES ----------------------
START ZEX0509N
1
2
3
4
5
6
7
8
9
10
The final value of &number is 11
NNM1005 START ZEX0509N PROCESSING COMPLETE. NCLID 003007
_____________________________________________________________________________
---------- ------------------ NonStop NET/MASTER D30 ---------------- --------
M=>
Combining the WHILE and UNTIL Keywords
You can specify both the WHILE and UNTIL keywords in a DO loop. The syntax of a
DO loop that combines both the WHILE and UNTIL keywords in a conditional clause
is one of the following:
DO WHILE
exprw
UNTIL
expru
statement1
statement2
statement3
…
END
DO UNTIL
expru
WHILE
exprw
statement1
statement2
statement3
…
END