comp.lang.ada
 help / color / mirror / Atom feed
From: firth@sei.cmu.edu (Robert Firth)
Subject: Re: Parameter modes
Date: 18 Nov 88 14:06:14 GMT	[thread overview]
Message-ID: <7748@aw.sei.cmu.edu> (raw)
In-Reply-To: 8811151407.AA10227@ajpo.sei.cmu.edu

In article <8811151407.AA10227@ajpo.sei.cmu.edu> CONTR22@NOSC-TECR.ARPA (Dale Gaumer) writes:

>     I would like to explore the possibility of using pass-by-reference for
>non-scalar parameters with mode "out" or "in out".
...
>     It seems to me that the LRM went to great lengths to make
>pass-by-reference a legal implementation, for parameters of mode "out" or "in
>out", which are array or record types.

I can confirm, for what it's worth, that it was the conscious intent of
the language designers to permit non-scalar (and non-access) parameters
to be passed by either copy or reference, at the option of the implementor.

If there is anything currently in the RM that prohibits that, I'm not aware
of it; should you know of any such statement, please bring it to the
attention of the Ada Board, so that they can fix it.

  reply	other threads:[~1988-11-18 14:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1988-11-15 13:05 Parameter modes Dale Gaumer
1988-11-18 14:06 ` Robert Firth [this message]
1988-11-21 23:46 ` Michael Murphy
  -- strict thread matches above, loose matches on Subject: below --
2002-12-25 19:18 parameter modes Jan
2002-12-25 20:32 ` Jeffrey Creem
2002-12-26  0:03   ` Stapler
2002-12-26  0:09     ` Larry Kilgallen
     [not found] ` <d0adua.hs3.ln@beastie.ix.netcom.com>
2002-12-26 15:10   ` Jan
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox