home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / apple2 / 20275 < prev    next >
Encoding:
Internet Message Format  |  1992-09-12  |  1.0 KB

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