In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: I think IF...THEN...ELSE...ENDIF nesting can be something like 128 levels. It is dependent on the compiler not the SX. EXIT will only exit from the IF...THEN...ENDIF structure that it is in. It will NOT exit out of all the nested ones. Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=253148#m253150 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)