comp.lang.ada
 help / color / mirror / Atom feed
From: groleau@e7sa.crd.ge.com (Wes Groleau X7574)
Subject: Re: Language lawyer needed
Date: Fri, 2 Apr 1993 16:39:46 GMT
Date: 1993-04-02T16:39:46+00:00	[thread overview]
Message-ID: <C4v7MA.9G@crdnns.crd.ge.com> (raw)

Hey, everyone, please don't flame the poor guy!

<name withheld to prevent forest fires> writes:
>Here's a question for language lawyers.
>
>Consider the following pathological program:
>
>   procedure Q(x : integer) is  
>   begin
>     declare
>       x : integer;   -- (1)
>     begin
>       Q(x => 0);     -- (2)
>     end;
>   end Q;
>

The "x" in (2) is NOT a variable; it is there to tell the compiler (which
knows anyway) WHICH of the parameters of Q needs to get the value zero.
Study up in all your Ada books, including the LRM, about named associations,
if you really want to know about this.

On the other hand, if you're just nit-picking to make Ada look bad, it didn't
work: we adults can tell the difference between "bad" and "not perfect"



             reply	other threads:[~1993-04-02 16:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-04-02 16:39 Wes Groleau X7574 [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-04-09 22:33 Language lawyer needed cis.ohio-state.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!noc.n
1993-04-08 18:10 Robert I. Eachus
1993-04-07 22:34 agate!howland.reston.ans.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-s
1993-04-02 15:39 Mike Berman
1993-04-01 21:57 David Guaspari
1993-04-02 13:57 ` Dave Collard x7468
1993-04-02 16:40 ` Robert I. Eachus
1993-04-02 19:37 ` Tucker Taft
1993-04-02 23:07 ` Rich Messenger
replies disabled

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