home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!mnemosyne.cs.du.edu!rreid
- From: rreid@mnemosyne.cs.du.edu (Mr. Robin R. Reid)
- Subject: Help for a new programmer...
- Message-ID: <1992Aug26.172453.28395@mnemosyne.cs.du.edu>
- Keywords: Inside Macintosh
- Organization: University of Denver, Dept. of Math & Comp. Sci.
- Date: Wed, 26 Aug 92 17:24:53 GMT
- Lines: 20
-
- I'm a new programmer who is confused by one of the code samples
- in "Inside Macintosh : Files," and I'm hoping someone can help
- me to understand what I read there...
-
- Listing 1-8 on page 1-22 declares a variable
-
- myBuffer : Ptr;
-
- and later allocates the pointer with the call
-
- myBuffer := NewPtr(myLength);
-
- but, as far as I can tell, this pointer is not de-allocated
- anywhere. Am I missing something, or is this just an error
- in the code?
-
- Also, I was wondering if anyone could offer some help with
- the fact that a TEHandle is declared but not used...
-
- Thanks in advance!
-