In SX Microcontrollers, SX/B Compiler and SX-Key Tool, _BPM_ wrote: [quote="Three of Them"]I was thinking maybe eliminating the IF statements for starters. Thanks again :)[/quote] In that case, use lookdown and lookup. Use the sxb help and look into lookdown and lookup, But because you don't really have alot of if then statements, i am not sure which code would be faster. With lookdown and lookup you will be doing most of your code in subroutines. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=127925#m127995 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)