EasyManua.ls Logo

Parallax BASIC Stamp II - Gosub

Default Icon
68 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Page 36 • BASIC Stamp II Manual 0.94 • Parallax, Inc. • (916) 624-8333
BASIC Stamp II
GOSUB
Go to a subroutine (and then RETURN later).
usage: GOSUB ledset
The execution point is stored and then a branch to ledset occurs. When
a RETURN is encountered (in ledset), execution continues at the in-
struction following the GOSUB.
GOSUB’s may be nested up to 4 deep and you are allowed 255 of them
in your program.