Prev Up Next
Go backward to Select command
Go up to *COMMANDS
Go forward to Arithmetic operations

Goto command


GOTO <label-name>



LABEL <label-name>


The GOTO command allows event processing to be passed forwards only in the *COMMANDS section to a point specified using LABEL.

GOTO may not be used to jump into a DOLOOP, IF or SELECT command.

eg.

IF GAMA GATEDBY GREC2
    GOTO BAND1
    ...
LABEL BAND1
    ...

support@ns.ph.liv.ac.uk

Prev Up Next