In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: It is used to make an IF...OR constuction. Let's say you wanted to do something if (A = 1) OR (B = 2) You would use DO IF A <> 1 THEN IF B <> 2 THEN EXIT ENDIF ' Do whatever here LOOP NEVER Notice that must use the opposite condition in the IF statements (<> instead of =). Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=197520#m197532 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)