Hi all, I have a routine where the user can enter data and show the data on an lcd. Most of it works ok, but in the routine, but when it comes to the user entering a backspace to alter the information on the screen it all falls apart. The re-entered data gets added to the LONG and I can't find out a way of 'detecting' what decimal digit is in a certain place. e.g. lets say the LONG is decimal 1024 and the user wants to change the '2' to a '3'. Accounting for powers of 10, my routine adds the 2 to the 3 instead of replacing it, so it becomes 1054. Is there any way to null that decimal character in the long integer before you add the 3 (or 30 in this case)? Brian. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu