In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: Assuming you already have an LCD_Char subroutine, do this: [code] [code] tempW VAR WORD temp VAR BYTE LCD_Char SUB 1 ' Pass character to print LCD_Str SUB 2 ' Pass string to print Program Start Start: LCD_Str "Hello there" LCD_Str Message1 END SUB LCD_Char ' What ever code you need here ENDSUB SUB LCD_Str tempW = __WPARAM12 DO READINC tempW, temp IF temp = 0 THEN EXIT LCD_Char temp LOOP ENDSUB Message1: Data "This is a message", 0 ' Don't forget the zero at the end [/code] ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=236139#m239064 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)