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