<<

Contents

Search

>>

 

GOTO

 

 

Instruction

 

 

Syntax:

GOTO = <Destination of Jump>

 

<Destination of Jump> = <LABEL> | <MASK FIELD>

 

Meaning:

Jumps to a label in the macro or to a mask field.

 

GOTO <LABEL> produces a jump to the specifies position within the macro.  

 

GOTO <MASK FIELD> produces a direct jump to the specified mask field. If the mask field is not on the current mask, the requested mask is displayed. The current mask is then closed.

 

Note: With GOTO <MASK FIELD> the current and all higher macros are closed.

 

Parameter:

Destination of Jump

Label or Mask field

 

Sample:

N1: ...

    IF I% > 10

    THEN GOTO N1

    ENDIF

 

GOTO #.3       /* Jump to the 3rd field of the current mask

GOTO #5.#LB$   /* Jump to the field LB$ of mask 5

 

See also:

NEXTFIELD

REPEAT

MACRO

CALL