In SX Microcontrollers, SX/B Compiler and SX-Key Tool, tdg8934 wrote: If you see in the new Revision B program (attached in my last post), I did declare my subroutines as John stated. However, I did not put in min and max parameter statements after the SUB listings. When I try to enter them in I get an error message: Error 10, Pass 1: Invalid Number of Parameters. If I leave them out, it compiles fine. (e.g. SEROUTSXB SUB 1, 3) -- gets the error (e.g. SEROUTSXB SUB 3) --- gets the error (e.g. SEROUTSXB SUB) -- works fine. Any guidance? Thanks, Timothy Gilmore See Rev C, attached - which compiles fine. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=95955#m96236 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)