In SX Microcontrollers, SX/B Compiler and SX-Key Tool, peterverkaik wrote: Maybe so. But using return should not make ENDSUB omit a RETP. Also, having multiple exits can save codespace, especially when returning values. regards peter ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=324027#m324036 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)