Article View: comp.lang.modula2
Article #4883NEW/DISPOSE ALLOCATE/DEALLOCATE
From: Randy Bush
Date: Mon, 18 Dec 1989 06:16
Date: Mon, 18 Dec 1989 06:16
14 lines
844 bytes
844 bytes
In article <"89-12-11-21:03:38.02*UK4H"@DKAUNI2.BITNET> you write: >Instead you have to write > ALLOCATE(x,SIZE(x^)); > DEALLOCATE(x,SIZE(x^)); As x^ does not exist when the parameter is evaluated, maybe it would be better to say VAR x : POINTER TO xType; ... ALLOCATE ( x, xType ) -- ..!uunet!m2xenix!randy randy@m2xenix.uucp (Randy Bush)
Technical Details
Message-ID:
<460@m2xenix.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!snorkelwacker!apple!claris!sts!ditka!qiclab!m2xenix!randyReferences:
<"89-12-11-21:03:38.02*UK4H"@DKAUNI2.BITNET>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!snorkelwacker!apple!claris!sts!ditka!qiclab!m2xenix!randy From: randy@m2xenix.UUCP (Randy Bush) Newsgroups: comp.lang.modula2 Subject: NEW/DISPOSE ALLOCATE/DEALLOCATE Message-ID: <460@m2xenix.UUCP> Date: 18 Dec 89 06:16:45 GMT References: <"89-12-11-21:03:38.02*UK4H"@DKAUNI2.BITNET> Reply-To: randy@m2xenix.UUCP (Randy Bush) Organization: Pacific Systems Group, Portland Oregon US Lines: 14