In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote: The compiler will not manipulate __PARAMCNT if you specify exactly zero or exactly five parameters in your SUB/FUNC declaration. To your point, this is rarely the case and using __PARAMCNT/__PARAM5 to pass a value can be dangerous; I don't do it. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=3&m=157842#m176303 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)