comp.lang.ada
 help / color / mirror / Atom feed
From: "Steve" <nospam_steved94@comcast.net>
Subject: Re: basic ada question
Date: Sun, 21 Aug 2005 10:37:57 -0700
Date: 2005-08-21T10:37:57-07:00	[thread overview]
Message-ID: <vOidnbFSF7e6JpXeRVn-hg@comcast.com> (raw)
In-Reply-To: mtxNe.9344$RS.5707@newsread3.news.pas.earthlink.net

"Jeffrey R. Carter" <spam@spam.com> wrote in message 
news:mtxNe.9344$RS.5707@newsread3.news.pas.earthlink.net...
> Adrian Knoth wrote:
>
>> It is a named parameter. You can use it to rearrange the order
>> of your parameters when calling a function/procedure.
>
> It's more about clarity than order. Something like
>
> Insert (Into => Name_List, Item => Current.Name);
>
> is usually clearer than
>
> Insert (Name_List, Current.Name);
>

A few years ago I translated a bunch of Pascal source code to Ada using a 
tool I obtained through this newsgroup.  I tweaked the sources of the 
translator to qualify all of the names in the procedure and function calls 
in the generated Ada code.  In most cases it made the code more readable 
than the original Pascal sources.  It also identified a number of bugs.

Steve
(The Duck)

> -- 
> Jeff Carter
> "Mr. President, we must not allow a mine-shaft gap!"
> Dr. Strangelove
> 33 





  parent reply	other threads:[~2005-08-21 17:37 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-19 16:35 basic ada question Randy
2005-08-19 17:55 ` Adrian Knoth
2005-08-19 20:22   ` Simon Wright
2005-08-19 21:13     ` Adrian Knoth
2005-08-22 13:28     ` Marc A. Criley
2005-08-19 21:43   ` Randy
2005-08-19 22:03     ` Adrian Knoth
2005-08-20  3:30   ` Jeffrey R. Carter
2005-08-20 14:28     ` Robert A Duff
2005-08-21 17:37     ` Steve [this message]
2005-08-21 21:45       ` Randy
2005-08-22 13:41         ` Steve
2005-08-23  1:47           ` Steve
2005-08-23 17:24             ` Martin Krischik
2005-08-23 21:32               ` Adrian Knoth
2005-08-24 16:41                 ` Martin Krischik
2005-08-20  6:36   ` [OT] Randy
2005-08-20 12:58     ` [OT] Larry Kilgallen
2005-08-20 19:48       ` [OT] Randy
2005-08-20 20:25         ` [OT] Adrian Knoth
2005-08-20 21:55           ` [OT] Way out in Left field Randy
2005-08-20 22:44           ` [OT] Randy
2005-08-20 21:27     ` [OT] TEST Randy
2005-08-20 22:52       ` Frank J. Lhota
2005-08-20 23:00         ` Randy
2005-08-20 22:31 ` [ot] test Randy
2005-08-20 22:39 ` Randy
replies disabled

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