Syntax
where E is any equation.
The RETURN: command is used to terminate the processing of a
macro and return to the place immediately following the place where the
last M: command was issued, or to the keyboard if the last
M: command was issued interactively. You should regard
M: and RETURN: commands as a matched pair during typical
use. The second form of the syntax is used to make the return
conditional on the value given by the accompanying equation.
The equation is defined to be TRUE if the
rounded value of the equation is equal to unity, and FALSE otherwise.
If
the evaluation of the equation causes an error, then the equation is
taken to be true, and a return will be made unless superceded by an
extant ONERROR: instruction.
Commands which might result in diverting
program flow (GOTO: , M: , and RETURN: ) must be
issued on a separate line; otherwise an error is reported. Hence the
following usage is not permitted:
The return address stack is automatically cleared
when a RESTART: command is issued, but not when a CLEAR:
command is issued.