Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!MS.UKY.EDU!kherron From: kherron@MS.UKY.EDU Newsgroups: comp.lang.modula2 Subject: Re: MetCom Message-ID: <8912042214.aa17181@s.s.ms.uky.edu> Date: 5 Dec 89 03:14:20 GMT References: <891204.13351181.096571@UWEC.CP6> Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: Modula2 List Organization: U of Kentucky, Mathematical Sciences Lines: 16 (ooh, finally an M-2 question I can answer!) NEW and DISPOSE, if your compiler has them, will be part of the SYSTEM module. I say "if your compiler has them" because Wirth's latest M-2 spec does not include NEW and DISPOSE--instead, use the ALLOCATE and DEALLOCATE procedures from STORAGE, along with the SYSTEM procedure TSIZE, which gives the size of a declared type. The pseudo-declaration for TSIZE looks like this: PROCEDURE TSIZE(): INTEGER; Like I said, it's in SYSTEM also. Kenneth Herron