home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!waikato.ac.nz!ldo
- From: ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University)
- Newsgroups: comp.sys.mac.hypercard
- Subject: Re: NULL legal in paramPtr->returnValue field?
- Message-ID: <1992Aug24.153541.10330@waikato.ac.nz>
- Date: 24 Aug 92 15:35:40 +1200
- References: <9786@uqcspe.cs.uq.oz.au> <jpugh-120892175039@90.20.3.213>
- Followup-To: comp.sys.mac.hypercard
- Organization: University of Waikato, Hamilton, New Zealand
- Lines: 17
-
- In article <jpugh-120892175039@90.20.3.213>, jpugh@apple.com (Jon Pugh) writes:
- > In article <9786@uqcspe.cs.uq.oz.au>, tonyg@cs.uq.oz.au (Tony Gedge) wrote:
- >>
- >> I have a quick question about legal values in the returnValue field of
- >> the XCmdBlock record. If no result is to be returned from a XFCN, is
- >> it legal to set this handle to NULL, or should a handle containing a null
- >> string be assigned to it?
- >
- > NULL is perfectly fine.
- >
- > Jon
-
- In fact, its initial value is already nil (or NULL, if you insist). So if
- you want to return an empty string, you don't actually have to do anything.
-
- Lawrence
- been doing this since 1987.
-