comp.lang.ada
 help / color / mirror / Atom feed
From: Calius <tow@netvision.net.il>
Subject: Re: Help -- Command line arguments
Date: 1996/09/21
Date: 1996-09-21T00:00:00+00:00	[thread overview]
Message-ID: <R.3243A1FD.E2A@netvision.net.il> (raw)
In-Reply-To: Dxy28C.7wB@most.fw.hac.com


Reposting article removed by rogue canceller.

Stephen M O'Shaughnessy wrote:
> 
> Is there a way in Ada to pass commands from the command line
> when a process is started?

Actually, on my specific implementation (Verdix SELF on AIX), there is.
There's a demo program supplied with the compiler to do that, but
basically what
it does is declare ArgV and ArgC as PRAGMA INTERFACE variables, and the
startup
module (which is written in C and linked to the application) actually
declares and
allocates them, and initiailzed them.

The way the are used is like in C, ofcourse.

If you're not using SELF, check your example directory.

                      Best of luck,
                                      Calius




  parent reply	other threads:[~1996-09-21  0:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-18  0:00 Help -- Command line arguments Stephen M O'Shaughnessy
1996-09-20  0:00 ` David Shochat
1996-09-20  0:00 ` Ken Garlington
1996-09-20  0:00 ` Ken Garlington
1996-09-20  0:00 ` David Shochat
1996-09-21  0:00 ` Calius [this message]
1996-09-21  0:00 ` Calius
1996-09-21  0:00   ` David C. Hoos, Sr.
1996-09-21  0:00   ` David C. Hoos, Sr.
1996-09-23  0:00 ` Jon S Anthony
replies disabled

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