WHILE [ System Debug Reference Manual ] MPE/iX 5.0 Documentation
System Debug Reference Manual
WHILE
While condition evaluates to TRUE, executes all commands in cmdlist.
Syntax
WHILE condition DO cmdlist
Parameters
condition A logical expression to be evaluated.
cmdlist A command list (or a single command) executed while
condition evaluates to TRUE.
Examples
$nmdebug > var n 7
$nmdebug > while n > 0 do {wl n; var n n-1}
7
6
5
4
3
2
1
A simple while loop example.
$nmdebug > while [pc] >> $10 <> $2000 do ss
Single step until the next Pascal/XL statement number.
Limitations, Restrictions
none
CAUTION The output format of all System Debug commands is subject to
change without notice. Programs that are developed to
postprocess System Debug output should not depend on the exact
format (spacing, alignment, number of lines, uppercase or
lowercase, or spelling) of any System Debug command output.
MPE/iX 5.0 Documentation