> > I thought of doing something like a lookup table (with DT "String =20 > > text..." etc) >=20 As a sidenote... When I am putting text on a display I also use characters in the range 0x80= -=20 0x9f as controlcodes or commands to the display which also goes into the=20 circular LCD buffert. The LCD buffert is then emptied one character at a ti= me=20 in the background and sent to the display at a pace it can handle. Whenever= a=20 controlcode is found in the buffert, its meaning is converted to one or mor= e=20 commands to the display or other higher level operations. The controlcodes could be: LCD_CMD_CLR Clear screen=20 LCD_CMD_CLREOL Clear to end of line LCD_CMD_HOME_2ND_ROW Move to (predefined) position LCD_CMD_CUR_OFF Turn cursor off LCD_CMD_CUR_ON Turn cursor on LCD_CMD_SAVE_POS Save cursor state and position LCD_CMD_RESTORE_POS Restore cursor state and position =20 LCD_CMD_AD_POS Position for AD value follows LCD_END_STR End of string LCD_CMD_MOVE_TO_AD Move cursor to previously defined pos Can't use 0 as end of string since it is used in user character RAM bytes a= nd a=20 user character itself. This way I can update a value which is constantly changing at one position = of=20 the display while at the same time I can handle a user inputting a value at= =20 another position of the display and define the string behaviour in jumptabl= es: Some example strings then could be: string_welcome retw LCD_CMD_CLR,'*** HCS100 ***' retw LCD_CMD_HOME_2ND_ROW,'V1.04 100522',LCD_END_STR string_write_AD_start retw LCD_CMD_SAVE_POS,LCD_CMD_CUR_OFF retw LCD_CMD_MOVE_TO_AD,LCD_END_STR string_write_AD_end retw 0x00,LCD_CMD_CLREOL,LCD_CMD_RESTORE_POS,LCD_END_STR Where 0x00 is a user character for "degrees C" for example. /Ruben =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D Ruben J=F6nsson AB Liros Electronic Box 9124, 200 39 Malm=F6, Sweden TEL INT +46 40142078 FAX INT +46 40947388 ruben@pp.sbbs.se =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .