In SX Microcontrollers, SX/B Compiler and SX-Key Tool, _BPM_ wrote: Use lookup and lookdown. I have found that those work better as a replaement for select case, over if then statements. Look at the sx/b help file for examples on lookup and lookdown. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=170267#m170273 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)