Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!rpi!bu.edu!inmet!gregh From: gregh@inmet.inmet.com Newsgroups: comp.sys.mac.programmer Subject: NewHandle(0L) ? Message-ID: <32600007@inmet> Date: 18 Oct 90 13:56:00 GMT Lines: 21 Nf-ID: #N:inmet:32600007:000:447 Nf-From: inmet.inmet.com!gregh Oct 18 09:56:00 1990 Is it permissable to call NewHandle (or NewPtr) with 0 as an argument? For instance: { Handle myHandle; myHandle = NewHandle(0L); } And then make myHandle bigger with calls to SetHandleSize() when needed. I have not found anything in any Apple literature to warn against this technique. But I am concerned that the call to NewHandle() may lead to problems. Greg Herlihy gregh@inmet.inmet.com