Previous Topic

Next Topic

Book Contents

Book Index

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 development environment 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.

Previous Topic

Next Topic