home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!wri!thunderpuppy.wri.com!jbrewer
- From: John Brewer <jbrewer@wri.com>
- Subject: Re: Verifying valid handles, how to?
- Message-ID: <1993Jan26.010315.7120@wri.com>
- X-Xxmessage-Id: <A789E9F0D2010A90@thunderpuppy.wri.com>
- X-Xxdate: Mon, 25 Jan 93 01: 03:12 GMT
- Sender: news@wri.com
- Nntp-Posting-Host: thunderpuppy.wri.com
- Organization: Wolfram Research, Inc.
- X-Useragent: Nuntius v1.1.1d16
- References: <1993Jan22.015520.1@fnalo.fnal.gov> <peter-230193180216@rocky.curtin.edu.au>
- Date: Tue, 26 Jan 1993 01:03:15 GMT
- Lines: 7
-
- Um.... Why not just
-
- #define KillHandle(h) (DisposHandle(h), h = 0)
-
- Simple, but effective....
-
- John
-