Article View: bit.listserv.simula
Article #296Re: In reply to your message: value change
From: Rob Pooley
Date: Tue, 02 Jul 1996 00:00
Date: Tue, 02 Jul 1996 00:00
43 lines
2053 bytes
2053 bytes
> --------
>
>
> > Frans Panken writes:
> >
>
> It makes sense that the transmission mode for arrays is "by
> reference": it saves a lot of memory.
>
> However, since simula does not explicitely asks you to specify the
> mode, because integers, reals etc are called "by value", it
> surprised me that it didn't work that way for arrays.
> Thanks for your comments, Ron.
>
For completeness the transmission modes for parameters in SIMULA are:
Mode
Type Value Reference Name
Simple types Default Illegal Legal
text legal default Legal
object reference illegal default Legal
Simple type array legal default Legal
reference type array illegal default legal
procedure illegal default legal
type procedure illegal default legal
label illegal default legal
switch illegal default legal
Source: An Introduction to Programming in SIMULA, R.J. Pooley, Blackwell, 1986
ISBN 0-632-01611-6
Dr Rob Pooley, Senior Lecturer
Department of Computer Science
Edinburgh University
Kings Buildings, Edinburgh, EH9 3JZ, Scotland
Tel: +44 131 650 5123 Fax: +44 131 667 7209
rjp@dcs.ed.ac.uk
Technical Details
Message-ID:
<v02140b03adfed636ac28@DialupEudora>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 113dd9,47ad1258a5ebb96c X-Google-Attributes: gid113dd9,public From: Rob Pooley <rjp@DCS.ED.AC.UK> Subject: Re: In reply to your message: value change Date: 1996/07/02 Message-ID: <v02140b03adfed636ac28@DialupEudora> X-Deja-AN: 163413567 sender: The SIMULA Language List <SIMULA@uga.cc.uga.edu> x-sender: rjp@deptpop.dcs.ed.ac.uk comments: Gated by NETNEWS@AUVM.AMERICAN.EDU content-type: text/plain; charset="us-ascii" mime-version: 1.0 newsgroups: bit.listserv.simula