Purpose:
|
To return from a subroutine. Used in conjunction with GOSUB.
|
|
|
Format:
|
RETURN
|
|
|
Example:
|
10
|
GOSUB 150
|
|
|
|
20
|
REM CONTINUES HERE AFTER SUBROUTINE AT LINE 150
|
|
|
30 END
|
|
|
|
40
|
REM SPECIAL CALCULATIONS
|
|
|
50
|
FACTOR = A * AVG( B , C , D ) + 12
|
|
|
60 RETURN
|
|