🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: bit.listserv.simula
1 messages
1 total messages Started by Rob Pooley Tue, 02 Jul 1996 00:00
Re: In reply to your message: value change
#296
Author: Rob Pooley
Date: Tue, 02 Jul 1996 00:00
43 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads