Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uwm.edu!bionet!agate!stanford.edu!msi.umn.edu!noc.MR.NET!gacvx2.gac.edu!hhdist From: TDSTRONG%MTUS5.BITNET@VM1.NoDak.EDU (Tim Strong) Newsgroups: comp.sys.handhelds Subject: RE: progamming question Message-ID: <81C4E9D460000137@gacvx2.gac.edu> Date: 11 Apr 91 18:16:46 GMT Lines: 44 Return-path: <@VM1.NoDak.EDU:TDSTRONG@MTUS5.BITNET> In-reply-to: Your message of Thu, 11 Apr 1991 02:24 CST To: handhelds@gac.edu > >Does anyone know how to force symbolic notation on a numerical value? > ie. 1: '5' >The idea being that I can build a numerical equation from this number... > ie. 1: '\v/5' @ square root of 5. > >I would not mind doing '\v/a' and then substitute the value of a, but >I don't know of a way to do this. > Maybe MATCH?? ....Never used it before, and there's gotta be a > simpler solution. > >All suggestions are appreciated. I hope this isn't a dumb question... >I hate asking dumb things...On the other hand, maybe there's a stupid >solution... > >Thanks in advance, >-Dave. Here's a possibilty however, since I don't know what you're using this for I'm not sure how well it fits your needs. The SYSEVAL #5B15h takes a string from the stack and returns it as a name. WARNING!!!! this code does not check to see if the string is a valid name. The last time I saw this posting that warning was placed prominently at the begining. However I haven't figured out how an invalid name can be dangerous since even if it is used as a variable name one can just recreate the name again to purge it. Maybe someone can enlighten me. Anyway if you were to place the following code somewhere useful perhaps in the middle of the program you're working on or assign it to a key it should work for you: ...->STR #5B15h SYSEVAL... I hope thats what you needed. The last time I tried to answer a question I found out I didn't really understand what the guy wanted. ====================================================================== ___ I__) _ _I _ _ TIM STRONG I \ (_I (_I (_I I MICHIGAN TECH. HOUGHTON, MICHIGAN ======================================================================