Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!ukma!rutgers!att!petsd!jac From: jac@petsd.UUCP (Jim Clausing) Newsgroups: comp.sys.mac.programmer Subject: Re: Allocating arrays? Message-ID: <1457@petsd.UUCP> Date: 7 Feb 89 19:37:40 GMT References: <867@fornax.UUCP> <9127@bloom-beacon.MIT.EDU> Reply-To: jac@petsd.UUCP (Jim Clausing) Distribution: na Organization: Concurrent Computer Corp., Tinton Falls, NJ Lines: 15 In article <9127@bloom-beacon.MIT.EDU> lwvanels@athena.mit.edu (Lucien Van Elsen) writes: [...stuff deleted...] >myhandle := comphan(Newhandle(sizeof(wanted*sizeof(complextype)))); Is this right? ---------------^^^^^^ I don't often call NewHandle, but shouldn't it be NewHandle(wanted*sizeof(..))? Otherwise, thanx for the tip. [...more stuff deleted...] >Lucien Van Elsen -- Jim Clausing Voice: (201)758-7693 Parallel Processing Tools Grp. CI$: 74726,2015 GEnie: J.CLAUSING Concurrent Computer Corp. Internet: jac@petsd.ccur.com Tinton Falls, NJ 07724 UUCP: {att, rutgers, princeton}!petsd!jac