Command | Description |
Call statement | Branches to an external subroutine. Call returns to the next statement, after the external subroutine executes a Return. |
Declare statement | Directs the compiler to recognize a call to a user-defined function or subroutine. Undeclared functions or subroutines will cause the compiler to abort. |
Function statement | Establishes a procedure as a user-defined function so that it can return a value. |
GoSub statement | Branches to local subroutine. Returns to the following statement, when the subroutine terminates with a Return statement. |
Return statement | Branches back to calling statement + 1. If used from a function, Return can pass a value back to the calling stored procedure or event handler. |
Subroutine statement | Establishes a procedure as a callable external subroutine. |