Chapter 14. Statement Reference
279
____________________________________________________________________
Flow control statement
RETURN
Returns control from a subroutine or an event-handling routine (for keystroke interrupt).
____________________________________________________________________
Syntax:
Syntax:Syntax:
Syntax:
RETURN
Description:
Description:Description:
Description:
RETURN statement in a subroutine returns control to the statement immediately following
the GOSUB that called the subroutine.
RETURN statement in an event-handling routine for keystroke interrupt returns control to
the program location immediately following the one where the keystroke trap occurred.
• No label designating a return location should be specified in a RETURN statement.
• You may specify more than one RETURN statement in a subroutine or an event-
handling routine.
Reference:
Reference:Reference:
Reference:
Statements: GOSUB and ON KEY ..GOSUB
Comentarios a estos manuales