In SX Microcontrollers, SX/B Compiler and SX-Key Tool, cutsing wrote: Ok, I guess I'm confused. I thought this command [b]LOOKDOWN[/b] [i]Target, Value0, {Value1, Value2, ...} Variable[/i] [i][/i] Returned to[i] Variable [/i]a value based on the matching position in the [i]value [/i]list. In the example[i] [/i]CMDBITS.GP = 1 the GP would be an offset in number of bits. Is this not the case? Thad ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=156140#m156143 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)