comp.lang.ada
 help / color / mirror / Atom feed
From: dobrien@seas.gwu.edu (David O'Brien)
Subject: Re: C programmer with Newbie question
Date: 18 Jan 1995 13:50:41 GMT
Date: 1995-01-18T13:50:41+00:00	[thread overview]
Message-ID: <3fj6bh$9a8@cronkite.seas.gwu.edu> (raw)
In-Reply-To: 3fhub3$4gv@Starbase.NeoSoft.COM

David Weller (dweller@Starbase.NeoSoft.COM) wrote:
: In article <3fgsin$kc6@info4.rus.uni-stuttgart.de>,
: Peter Hermann <ucaa2385@iris1.csv.ica.uni-stuttgart.de> wrote:
: >Michael Bartz (m-bartz@memphis.edu) wrote:
: >: Can you pass command line arguments to an Ada program?
: >
: >A.15 The Package Command_Line
: >
: >   function Argument_Count return Natural;

: 	equiv to argc

: >   function Argument (Number : in Positive) return String;

: 	equiv to argv[1]..argv[argc]

: >   function Command_Name return String;
: 	
: 	equiv to argv[0]

Correct me if I am wrong, but passing command line parameters is *VERY*
implementation specific (I am assuming Ada83).  I assumed "A.15" is a
reference to appendix A in the ARM.  But, that was not what I found
there.  Could someone please point me to the language (Ada83 or Ada9x)
this applies to and where in the ARM it it.

-- David O'Brien	(dobrien@seas.gwu.edu)



  parent reply	other threads:[~1995-01-18 13:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m-bartz-1701950936420001@macgalois.ee.memst.edu>
1995-01-17 17:10 ` Command Line Parameters fewellsj
1995-01-24  2:42   ` David Weller
1995-01-24 16:09     ` Tarjei Jensen
1995-01-26 12:54     ` Mats Weber
     [not found] ` <3fgsin$kc6@info4.rus.uni-stuttgart.de>
     [not found]   ` <3fhub3$4gv@Starbase.NeoSoft.COM>
1995-01-18 13:50     ` David O'Brien [this message]
     [not found]       ` <D2MB10.33w@world.std.com>
1995-01-19  9:32         ` C programmer with Newbie question Peter Hermann
1995-01-20 16:55           ` Robert Dewar
1995-01-25 23:45       ` Tucker Taft
1995-01-23 15:45   ` David Emery
1995-01-25 23:40   ` Tucker Taft
replies disabled

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