GOSUB action

Note: This action is obsolete. We recommend you to use CALL action.


Function
Calling a subprogram.
Declaration
 GOSUB label
Parameters
labelinLabel (a sequence of characters that meets the conditions for the given object name).
Description
The action calls given subprogram at the specified label. Return to the next action (that follows GOSUB) is allowed by the action RETURN.

Restrictions:
The action may not be placed within a procedure.
Label may not be placed within a procedure.


Related pages:

Napíšte komentár