Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!usc!samsung!munnari.oz.au!uhccux!waikato.ac.nz!ldo From: ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University) Newsgroups: comp.lang.modula2 Subject: Re: Problem Message-ID: <1991Jan31.181610.2870@waikato.ac.nz> Date: 31 Jan 91 05:16:10 GMT References: <4376@syma.sussex.ac.uk> Organization: University of Waikato, Hamilton, New Zealand Lines: 25 ALLOCATE( q, SIZE( PtEl ) ); ^^^^ Aha! Try the following: ALLOCATE(q, SIZE(Element)); ^^^^^^^ I made this change and got the program to work just fine, both in its original form and with the changes you described. *Without* this fix, the program completely hung up my Mac. On breaking into MacsBug, it told me that the application heap had suffered major damage. No wonder... By the way, I use the MPW version of the Metrowerks compiler. I've only been using it for about four months, but so far it looks like the most bug-free of the various Mac compilers I've used. Lawrence D'Oliveiro fone: +64-71-562-889 Computer Services Dept fax: +64-71-384-066 University of Waikato electric mail: ldo@waikato.ac.nz Hamilton, New Zealand 37^ 47' 26" S, 175^ 19' 7" E, GMT+13:00