GOSUB target
Initiates a subroutine call to the target which can be a line number or a label.
The subroutine must end with RETURN.
See also:
GOTO
ON GOTO|GOSUB
RETURN
Electronic Products for Creative Minds
Initiates a subroutine call to the target which can be a line number or a label.
The subroutine must end with RETURN.
See also:
GOTO
ON GOTO|GOSUB
RETURN
Branches program execution to the target which can be a line number or a label.
See also:
GOSUB
ON GOTO|GOSUB
RETURN
Evaluates the expression ‘expr’ and performs the THEN statement if it is true or skips to the next line if false. The optional ELSE statement is the reverse of the THEN test. This type of IF statement is all on one line.
The ‘THEN statement’ construct can be also replaced with:
GOTO linenumber | label
See also:
ELSE
ELSEIF THEN
ENDIF
IF THEN ELSE
IF THEN ELSE ELSIF ENDIF