From: stt@henning.camb.inmet.com (Tucker Taft)
Subject: Re: C programmer with Newbie question
Date: Wed, 25 Jan 1995 23:40:10 GMT
Date: 1995-01-25T23:40:10+00:00 [thread overview]
Message-ID: <D2zJ2z.HvF@inmet.camb.inmet.com> (raw)
In-Reply-To: 3fgsin$kc6@info4.rus.uni-stuttgart.de
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?
>
>Excerpt from LRM(version5.95) for Ada95 (not Ada83!):
Actually, the excerpt below seems to be from a slightly
older version. In version 5.95, the type is called
"Exit_Status" and the routine to set it is called
"Set_Exit_Status".
So "Exit_" should be inserted as indicated below.
>A.15 The Package Command_Line
>
> package Ada.Command_Line is
> pragma Preelaborate(Command_Line);
> function Argument_Count return Natural;
> function Argument (Number : in Positive) return String;
> function Command_Name return String;
> type Status is range implementation-defined;
^ Exit_
> Success : constant Status;
^ Exit_
> Failure : constant Status;
^ Exit_
> procedure Set_Status (Code : in Status);
^ Exit_ ^ Exit_
> private
> ... -- not specified by the language
> end Ada.Command_Line;
>
>--
>Peter Hermann Tel:+49-711-685-3611 Fax:3758 ph@csv.ica.uni-stuttgart.de
>Pfaffenwaldring 27, 70569 Stuttgart Uni Computeranwendungen
>Team Ada: "C'mon people let the world begin" (Paul McCartney)
-Tucker Taft stt@inmet.com
Intermetrics, Inc.
prev parent reply other threads:[~1995-01-25 23:40 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 ` C programmer with Newbie question David O'Brien
[not found] ` <D2MB10.33w@world.std.com>
1995-01-19 9:32 ` 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 [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox