SPLat Logo

GoSub LLLL

NOTICE: Our web site is being updated, but is currently experiencing extreme slowness due to host issues. Please contact us directly.
NOTICE: SPLat Controls has moved. We are now at 1/85 Brunel Rd, Seaford, 3198. map
SPLat will be shut down for the Christmas Holiday season from Friday 20 December 2024 through Tuesday 7 January 2025. We will check emails periodically and will continue to process orders but at a slower pace. Santa hat

GoSub LLLL

Remembers where current program line is then transfers control to the subroutine at program line LLLL. A subsequent Return will return control back to the program line following the GoSub. If your program attempts more than 4 nested GoSubs, the SPLat/PC simulator reports an error and the SPLat hardware resets.

See also Return, RetIfZ, RetIfNZ, RetIfT, RetIfF, Gosub, GoSubIfZ, GoSubIfNZ, GoSubIfT, GoSubIfF

Do not confuse with GoTo, which does not remember a line to return to.