BASIC Stamp II Manual 0.94 • Parallax, Inc. • (916) 624-8333 • Page 27
BASIC Stamp II
BRANCH
Branch according to an index.
usage: BRANCH index,[label0,label1,label2,...labelN]
If index=0, a GOTO label0 will be executed. If index=1, a GOTO label1
will be executed. If the index exceeds the number of label entries, no
branch will occur and execution will proceed at the next instruction.