In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bennettdan wrote: Bean, If I want to use an If Then statement with the rpm word can I use decimal values to compare the rpm variable to. Like this .. If rpm = 1500 then High RB.2 Else Low RB.2 EndIF If I want to use binary I add a % sign in front of the # and if I use Hex then $ sign infront of the number I want to compare the rpm variable to..Right ? ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=199012#m199461 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)