🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #2009

Re: How to write NEW?

#2009
From: eepjm
Date: Fri, 26 Apr 1991 01:29
17 lines
1417 bytes
In article <1991Apr22.155056.10010@cc.newcastle.edu.au>, I wrote:
> 
> The answer is actually quite simple, it's only the documentation that's
> bad.  EVERY Modula-2 compiler supports NEW and DISPOSE (if you find one
> that doesn't, you've been cheated) in the following way.  When NEW(Var)
> appears in your source, it is automatically translated by the compiler

My humble apologies for getting this wrong.  It seems that there *are*
compilers which fail to support NEW and DISPOSE, and that they don't violate
the de facto standard described by the third edition of Wirth's book.  (To
see this, you have to note carefully what Wirth *didn't* say).

I still believe that the people who bought those compilers have been
cheated, but I shouldn't have jumped in and assumed that other people
didn't understand the language.  (Creeps out, red-faced).

Peter Moylan                   eepjm@cc.newcastle.edu.au
Technical Details
Message-ID: <1991Apr26.112948.10043@cc.newcastle.edu.au>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!uunet!munnari.oz.au!metro!seagoon.newcastle.edu.au!cc.newcastle.edu.au!eepjm
References: <5122672@janhh.hanse.de> <1991Apr22.155056.10010@cc.newcastle.edu.au>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!uunet!munnari.oz.au!metro!seagoon.newcastle.edu.au!cc.newcastle.edu.au!eepjm
From: eepjm@cc.newcastle.edu.au
Newsgroups: comp.lang.modula2
Subject: Re: How to write NEW?
Message-ID: <1991Apr26.112948.10043@cc.newcastle.edu.au>
Date: 26 Apr 91 01:29:47 GMT
References: <5122672@janhh.hanse.de> <1991Apr22.155056.10010@cc.newcastle.edu.au>
Organization: University of Newcastle, AUSTRALIA
Lines: 17