In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote: I think what Bean is trying to say that LOOP NEVER is a convenient way to create a custom label for when your complex expression is false. Without it you could do something like this: [code]Evaluation: IF a <> 1 THEN IF b <> 2 THEN GOTO Evaluation_Failed ENDIF ENDIF Evaluation_Succeeded: ' handle it GOTO Next_Process Evaluation_Failed: ' handle it Next_Process: ' handle it[/code] One of the things that the SX/B reveals is that many of our *fancy* programming structures, things like IF-THEN-ELSE, are executed with simple test-and-jump code with the compiler automating the labels that I created manually in the example above. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=197520#m197567 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)