In SX Microcontrollers, SX/B Compiler and SX-Key Tool, jdemeyer wrote: I was compiling some code for my project when I received an Error Code 10 (INVALID NUMBER OF PARAMETERS) on the following line: [code]ThrowDice VAR RE.1[/code] I corrected the error temporarily by removing only the last letter of the variable name (this should have been a clue). It wasn't until I was reviewing the code that I discovered I had named AND declared a subroutine by the same name: ThrowDice SUB 0 ThrowDice: 'some code RETURN Joe ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=138104 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)