home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!agate!ucbvax!pro-iisysops.cts.com!snakey
- From: snakey@pro-iisysops.cts.com (David Ross)
- Newsgroups: comp.sys.apple2
- Subject: TML Pascal II
- Message-ID: <ib63633@pro-iisysops.cts.com>
- Date: 11 Sep 92 21:25:13 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: world
- Organization: ProLine [pro-iisysops]
- Lines: 13
-
-
- I'm having a bit of trouble in Pascal. I need to get a number to
- and from a LineEdit (a real number, not an integer). A LineEdit will only
- take strings, not numbers. I looked in the TML Utilities source code,
- located with the rest of the source code for the Toolbox functions to be
- used and I found a command called String2Real. Every time I use this
- though, I just get the same number, on any string that I use as input. Is
- there some special syntax that needs to be in the string or something???
- The routine just doesn't seem to work. Any other ways of solving this
- problem?
-
- /\/\/\/\/\/\/\/\/\/\/\:>-
- Snakey
-