Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!src.honeywell.com!msi.umn.edu!noc.MR.NET!gacvx2.gac.edu!hhdist From: TDSTRONG%MTUS5.cts.mtu.edu@CUNYVM.CUNY.EDU (Tim Strong) Newsgroups: comp.sys.handhelds Subject: RE: strings on 48 Message-ID: Date: 13 May 91 19:00:24 GMT Lines: 27 Return-path: <@CUNYVM.CUNY.EDU:TDSTRONG@MTUS5.cts.mtu.edu> In-reply-to: Your message of Mon, 13 May 1991 07:51 CST To: handhelds@gac.edu > >Is there a way to store strings on the HP48SX without having the system >possibly rewriting them? If I try to store "00-00" in a string variable >the system stores "0-0". (Application -- storing serial numbers so that >they are readily available.) >-- Are you sure you don't mean '00-00'. If you store that you get back '0-0'. However if you store "00-00" you get back "00-00". If what you want is '00-00' then I have an answer. Try the following program on a string: << # 5B15h SYSEVAL >> 'ST->NAME' STO If you run it on "00-00" you get '00-00' and you can store it away normally. Incidentally be careful with this program. It doesn't do any checking to see if the string is a valid name so you can get variable names that are difficult to erase this way unless you realize how to create the name again. ====================================================================== ___ I__) _ _I _ _ Tim Strong I \ (_I (_I (_I I Michigan Tech. Houghton, Michigan, U.S.A. ======================================================================