🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #3425

Re: structured types & procedures

#3425
From: Joerg Haas
Date: Wed, 27 Mar 1996 13:28
23 lines
1373 bytes
Jake,

>PROCEDURE Thingy(Bob:REAL):StructuredType;
>
>Whereas the StonyBrook DOS compiler won't let me. I have to do:
>
>PROCEDURE Thingy(Bob:REAL;VAR Fred:StructuredType);
>
>Is there a good reason for this?
No, there isn't. PIM doesn't support structured types as returnvalues
of function procedures. But iso says yes to structured returnvalues.
The reason (but not a good ;-)) may be, that StonyBrooks Modula was
PIM orientated and isn't up to date or up to iso.

Joerg.




-- 
|Joerg Haas      |voice:02461-59241                    |Microsofts philosophi:|
|Wendelinusstr.67|email:j.haas@rurtal.de               |If  you can't  make it|
|D-52428 Juelich |www  :www.juelich.fh-aachen.de/~snark|good,make it look good|
Technical Details
Message-ID: <4jbfqj$ant@news.rwth-aachen.de>
Path: arc1-ca.pugleaf.net!news.rwth-aachen.de!news
References: <DnrCDH.17u@lut.ac.uk> <4hmu5o$vje@locutus.rchland.ibm.com> <DoBD6w.6HI@lut.ac.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.rwth-aachen.de!news
From: Joerg Haas <snark>
Newsgroups: comp.lang.modula2
Subject: Re: structured types & procedures
Date: 27 Mar 1996 13:28:51 GMT
Organization: RWTH -Aachen / Rechnerbetrieb Informatik
Message-ID: <4jbfqj$ant@news.rwth-aachen.de>
References: <DnrCDH.17u@lut.ac.uk> <4hmu5o$vje@locutus.rchland.ibm.com> <DoBD6w.6HI@lut.ac.uk>
NNTP-Posting-Host: kardiotech3.phytech.fh-aachen.de
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 1.1N (X11; I; Linux 1.2.13 i586)
To: eljl3@dwalin.lut.ac.uk
X-URL: news:DoBD6w.6HI@lut.ac.uk