McIDAS User's Guide
Version 2017.1
[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]
Changes the normal downward flow of control.
This command is like GOTO, except control may be returned to the statement following the GOSUB by executing a RETURN statement.
GOSUB | 1000 | |
100 | REM Return Here | |
. | ||
. | ||
1000 | PRINT B | |
1010 | RETURN |
In this example, control is returned to line 100.
[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]