Article View: comp.lang.modula2
Article #431Re: MetCom
From: kherron
Date: Tue, 05 Dec 1989 03:14
Date: Tue, 05 Dec 1989 03:14
16 lines
1001 bytes
1001 bytes
(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(<any type>): INTEGER; Like I said, it's in SYSTEM also. Kenneth Herron
Technical Details
Message-ID:
<8912042214.aa17181@s.s.ms.uky.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!MS.UKY.EDU!kherronReferences:
<891204.13351181.096571@UWEC.CP6>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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 <INFO-M2%UCF1VM.BITNET@PSUVM.PSU.EDU> Organization: U of Kentucky, Mathematical Sciences Lines: 16