In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote: Your code can take a byte value but is not handling it -- here's how you can fix that: [code]LCD_5_Digit_Value: IF __PARAMCNT = 3 then tmpW1 = __WPARAM12 tmpB1 = __PARAM3 ELSE tmpW1 = __PARAM1 tmpB1 = __PARAM2 ENDIF[/code] Now you can pass your first parameter as a word or byte. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=178452#m178633 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)