HELP QUITIF A. Sloman, June 1986
quitif(<expression>)
translates to:
if <expression> then quitloop endif;
This causes control to pass out of a loop enclosing this instruction (in
the same procedure only). The parentheses surrounding the expression are
essential.
To quit the Nth enclosing loop do:
quitif(<expression>)(N)
The integer N cannot be replaced by a variable.
See HELP
*QUITLOOP - to jump out of one or more enclosing loops
*QUITUNLESS - to jump out of a loop if a condition becomes false
*NEXTLOOP - to continue an enclosing loop (start next iteration)
*NEXTIF - to restart a loop if a condition becomes true
*NEXTUNLESS - to restart a loop if a condition becomes false
*LOOPS - for types of iteration available in POP-11
*CONTROL - for control structures available in POP-11Author: A. Sloman, June 1986