🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #1980

Re: How to write NEW?

#1980
From: Pete Soper,Cary NC,9194813730,91...
Date: Mon, 22 Apr 1991 15:08
16 lines
1428 bytes
From article <1991Apr22.155056.10010@cc.newcastle.edu.au>, by eepjm@cc.newcastle.edu.au:
> 
> 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)

  There are lots of cheated folks out there in that case. Compilers
implementing the language described by edition three of the Wirth book do not
contain NEW and DISPOSE. This is another case where Wirth fiddled with the
language with little concern for the impact of the fiddling. While Wirth
is of course free to do as he likes I wish when he went from the second to
the third edition he had changed the name of the language to really cut down
on the confusion :-)
-----------------------------------------------------------------------
Pete Soper (soper@encore.com)                           +1 919 481 3730
Encore Computer Corp, 901 Kildaire Farm Rd, bldg D, Cary, NC 27511  USA
Technical Details
Message-ID: <14627@encore.Encore.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!bu.edu!encore!encore.UUCP
References: <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!bu.edu!encore!encore.UUCP
From: soper@encore.UUCP (Pete Soper,Cary NC,9194813730,9193624635)
Newsgroups: comp.lang.modula2
Subject: Re: How to write NEW?
Message-ID: <14627@encore.Encore.COM>
Date: 22 Apr 91 15:08:29 GMT
References: <1991Apr22.155056.10010@cc.newcastle.edu.au>
Sender: news@Encore.COM
Lines: 16
Nntp-Posting-Host: maxzilla.encore.com