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

  1. Path: sparky!uunet!vnet.ibm.com
  2. From: Pauley@vnet.ibm.com (Paul Benson)
  3. Message-ID: <19920914.084642.965@almaden.ibm.com>
  4. Date: Mon, 14 Sep 92 11:37:23 EDT
  5. Newsgroups: comp.sys.apple2
  6. Subject: Re: TML Pascal II
  7. Organization: IBM Personal Computer Co. - PS/1 Development
  8. Disclaimer: This posting represents the poster's views, not those of IBM
  9. News-Software: UReply 3.0
  10. References: <ib63633@pro-iisysops.cts.com>
  11. Lines: 19
  12.  
  13. In <ib63633@pro-iisysops.cts.com> David Ross writes:
  14. >used and I found a command called String2Real.  Every time I use this
  15. >though, I just get the same number, on any string that I use as input.  Is
  16.  
  17. 1) is the toolset started (properly)?
  18. 2) are you passing the correct parms? (probably a pointer to a Pascal string,
  19.        don't have my books with me.)
  20. 3) is a toolerror returned? (there should be a way to get this in Pascal).
  21. 4) are you using the USING directive?
  22. 5) a Str2Real function is not that hard to write yourself.  But since a
  23.    toolcall already exists it would be better if you figured out why it
  24.    is not working properly.  But, if in dire straits, just write your
  25.    own routine.
  26.  
  27. Believe me, the String2Real function works.  I know I've used it in the
  28. past, and the bug probably would have cropped up by now.
  29.  
  30. Pauley
  31. GEnie: P.Benson1
  32.