In SX Microcontrollers, SX/B Compiler and SX-Key Tool, johncouture wrote: Guys and Gals, I admit it, I need help. You all have been very helpful and have sent me to sites with the answers but I can't seem to make it work. I need a simple routine that will enable me to display the contents of a 16bit variable as a DEC value (ASCII). Something like the following where you hand it a WORD variable and it sets up something like a DATA string (zero terminated). That way you can use Jon Williams TX_ OUT routine to display the value on an LCD or Terminal. With the new WORD variables, has anyone developed one yet? '--------------------------------------------------------------------------- TX_Dec16: ' Use: TX_Dec16 word ' -- Send a word variable and set six contiguous bytes to ' the ASCII Decimal. ' Example: C351h would return "50001",0 in an array? ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=138199 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)