BASIC Stamp II
LOOKUP
Lookup a variable according to an index.
usage:
LOOKUP index,[value0,value1,value2,...valueN],variable
If index=0, then value0 will be written to variable. If index=1, then value1
will be written to variable. If the index exceeds the number of value
entries, then variable will not be affected.
Page 42 • BASIC Stamp II Manual 0.94 • Parallax, Inc. • (916) 624-8333
Need help?
Do you have a question about the BASIC Stamp II and is the answer not in the manual?