Leonardus
Loading...
Searching...
No Matches
Analogous LeoScript Operator exit

STACK

$ -- $

DESCRIPTION

Terminates execution of the innermost, dynamically enclosing
instance of a looping context without regard to lexical relationship.
A looping context is a procedure invoked repeatedly by one of the
following control operators:

  • for
  • forall
  • loop
  • repeat

exit pops the execution stack down to the level of that operator.
The interpreter then resumes execution at the next object in normal
sequence after that operator.

exit does not affect the operand stack or dictionary stack.
Any objects pushed on these stacks during execution of the looping
context remain after the context is exited.

ORIGIN

Core code registered in systemdict.