comp.lang.ada
 help / color / mirror / Atom feed
From: "Robert Deininger" <rdeininger@mindspring.com>
Subject: Re: Ada 0x Wish List
Date: 13 Feb 2001 11:33:32 -0500
Date: 2001-02-13T16:31:54+00:00	[thread overview]
Message-ID: <B6AECC0E-3F8FC@165.247.25.219> (raw)
In-Reply-To: dale-9DC1EA.18152312022001@news-server

On Mon, Feb 12, 2001 2:23 AM, Dale Stanbrough <dale@cs.rmit.edu.au> wrote:


>What -I- would like to see is a named parameter association
>that shows you the mode of the parameter....
>
>E.g.
>   procedure X (a : in integer; b : in out integer; c : out integer);
>
>
>   X (a <-  5,
>      b <-> y,
>      c  -> d);
>
>It would be nice to see in a procedure call exactly which way
>the data is going.


Nice idea... But my first gut reaction is that you have your arrows
pointing the wrong way.  Given your procedure declaration, this call is
more intuitive to me:

>   X (a ->  5,
>      b <-> y,
>      c  <- d);

>Not quite sure how you would represent "access" mode. Maybe
>the same as "in out"?
>
>
>Dale
>



---------------------------
Robert Deininger
rdeininger@mindspring.com






  parent reply	other threads:[~2001-02-13 16:33 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-12  3:25 Ada 0x Wish List Peter Richtmyer
2001-02-12  4:22 ` Jeffrey Carter
2001-02-12  7:23   ` Dale Stanbrough
2001-02-12 13:04     ` Preben Randhol
2001-02-13 16:33     ` Robert Deininger [this message]
2001-02-13 18:15       ` Keith Thompson
2001-02-12  7:39 ` Florian Weimer
2001-02-12 13:18   ` Steve Folly
2001-02-12 15:25   ` Arthur Schwarz
2001-02-12 14:29 ` John English
2001-02-13  8:31   ` Dr Adrian Wrigley
2001-02-13 20:46   ` Fraser Wilson
2001-02-13 22:06     ` Larry Hazel
2001-02-13 22:45       ` Fraser Wilson
2001-02-13 23:14         ` Larry Hazel
2001-02-13 23:59           ` David C. Hoos, Sr.
2001-02-14  1:22             ` Larry Hazel
2001-02-13 23:51     ` Keith Thompson
2001-02-14 11:23     ` David C. Hoos, Sr.
2001-02-15 22:01       ` Georg Bauhaus
2001-02-15 22:14         ` Marin David Condic
2001-02-17  8:43     ` Dr Adrian Wrigley
2001-02-12 16:08 ` Steve Folly
2001-02-12 17:53   ` Lao Xiao Hai
2001-02-12 18:22 ` (null)
  -- strict thread matches above, loose matches on Subject: below --
2001-02-15  1:33 Beard, Frank
replies disabled

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