In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: Joe, Yeah, the compiler thought "ThrowDice VAR RE.1" was a call to the SUB. I don't know if it is stated in the help file that you cannot have a SUB with the same name as a VAR. BTW: I would recommend you use the new PIN directive to declare hardware pins. It allows you to "setup" the pin. So you could do "ThrowDice PIN RE.1 INPUT PULLUP" would setup the pin automatically as an input with pullups enabled. Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=138104#m138105 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)