In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Johnson Rod wrote: do one binary operation per line and store the value in a temporary variable; in this case i used tempBit. tempBit = flow OR temp tempBit = tempBit AND gas if tempBit = 1 then... else... endif ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=99428#m99451 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)