Table of Contents

Advertisement

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.
Page 36 • BASIC Stamp II Manual 0.94 • Parallax, Inc. • (916) 624-8333

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BASIC Stamp II and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents