;
JUMP -- jumps from one portion of an action-list to another. You can only
use JUMP within an action-list. Use it as you would use a GOTO
statement in a high-level language. That is, you declare a label
and then use JUMP to transfer control to the command following the
label. J is the legal abbreviation for JUMP. For example, the
following macro prints the contents of a linked list. The label is
named loop. The JUMP command appears in the action-list of an IF
command:
> MACRO `print_list [ SET `save_head = head;
_ loop: EXAMINE head^.car;
_ SET head = head^.cdr;
_ IF head <> 0 [JUMP loop];
_ SET head = `save_head]
>