In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote: That's old code -- use this version, it's cleaner: [code]' Use: TX_STR [String | Label] ' -- pass embedded string or DATA label SUB TX_STR tmpW1 = __WPARAM12 ' get offset/base DO READINC tmpW1, tmpB1 ' read a character IF tmpB1 = 0 THEN EXIT ' if 0, string complete TX_BYTE tmpB1 ' send the byte LOOP ENDSUB[/code] ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=270245#m270276 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)