Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!ut-emx!boerner From: boerner@ut-emx.uucp (Brendan B. Boerner) Newsgroups: comp.lang.pascal Subject: Re: (R)Re: Quick Directories/Better Sorts Message-ID: <40147@ut-emx.uucp> Date: 25 Nov 90 22:59:12 GMT References: <25082@adm.brl.mil> <40124@ut-emx.uucp> Organization: UT Austin Computation Center, Microcomputer Technologies Lines: 23 In article <40124@ut-emx.uucp> boerner@ut-emx.uucp (Brendan B. Boerner) writes: >In article <25082@adm.brl.mil> CDCKAB%EMUVM1.BITNET@cunyvm.cuny.edu ( Karl Brendel) writes: >[...] >>You subsequently proposed a solution which _will_ work: the array of >>pointers (or pointer to an array of pointers). >[...] > >I disagree with Karl on the first point: the SizeOf a variable of >type ^array[1..5000] of index will be 4 (it's a pointer). Using >New(IndexPtrVar) will result in 85000 bytes being allocated on the >heap. >[...] Duncan Murdoch sent me mail pointing out the error of my ways. Karl is correct in saying that ^Array[1..5000] of index will not compile. My apologies to Karl for this. Brendan -- Brendan B. Boerner Phone: 512/471-3241 Microcomputer Technologies The University of Texas @ Austin Internet: boerner@emx.cc.utexas.edu UUCP: ...!cs.utexas.edu!ut-emx!boerner BITNET: CCGB001@UTXVM.BITNET