In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Sparks-R-Fun wrote: Russ, I'll admit I have not given this much depth of though but you may want to try one of the following: 1.) Replace your [B]END SUB[/B] statements with [B]RETURN[/B] statements [B]...OR...[/B] 2.) Place a [B]SUB[/B] statement before your subroutine labels and keep the [B]END SUB[/B] statements. If you try this and it does not work, let me know. - Sparks ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=286298#m286312 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)