home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / mac / hypercar / 3207 < prev    next >
Encoding:
Internet Message Format  |  1992-08-23  |  1.1 KB

  1. Path: sparky!uunet!wupost!waikato.ac.nz!ldo
  2. From: ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University)
  3. Newsgroups: comp.sys.mac.hypercard
  4. Subject: Re: NULL legal in paramPtr->returnValue field?
  5. Message-ID: <1992Aug24.153541.10330@waikato.ac.nz>
  6. Date: 24 Aug 92 15:35:40 +1200
  7. References: <9786@uqcspe.cs.uq.oz.au> <jpugh-120892175039@90.20.3.213>
  8. Followup-To: comp.sys.mac.hypercard
  9. Organization: University of Waikato, Hamilton, New Zealand
  10. Lines: 17
  11.  
  12. In article <jpugh-120892175039@90.20.3.213>, jpugh@apple.com (Jon Pugh) writes:
  13. > In article <9786@uqcspe.cs.uq.oz.au>, tonyg@cs.uq.oz.au (Tony Gedge) wrote:
  14. >>
  15. >> I have a quick question about legal values in the returnValue field of
  16. >> the XCmdBlock record.  If no result is to be returned from a XFCN, is
  17. >> it legal to set this handle to NULL, or should a handle containing a null
  18. >> string be assigned to it?
  19. >
  20. > NULL is perfectly fine.
  21. >
  22. > Jon
  23.  
  24. In fact, its initial value is already nil (or NULL, if you insist). So if
  25. you want to return an empty string, you don't actually have to do anything.
  26.  
  27. Lawrence
  28. been doing this since 1987.
  29.