Quote Originally Posted by electrosys View Post
You are making an assumption that the list of constants is known.
Sorry electrosys, I said "too bad" because with
Other methods of searching a string are likewise not being sought.
you seem pretty reluctant to use anything other than lookdown. I assume you are looking up constants .... well, because that is what lookdown does. From the manual "LOOKDOWN Search,[Constant{, Constant...}],Var

The reason you were asked where this list comes from, was to see what you were using it for, to see if you really wanted to use Lookdown, or if there were other alternatives that might work better for you.

If you have PBP ver 2.60 arrayread is very nice. Here are a couple examples of how it can be used to parse strings.

http://www.picbasic.co.uk/forum/show...5028#post85028

http://www.picbasic.co.uk/forum/show...8422#post88422