In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: Steve, "THEN temp" is the same as "GOTO temp" so that will NOT return back to the line after the "IF". If you want it to then do this: IF "statement true" THEN temp ENDIF Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=100954#m100964 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)