comp.lang.ada
 help / color / mirror / Atom feed
* Reading command line in Alsys Ada on AIX?
@ 1991-05-28  6:05 John R. Dudeck
  1991-05-29  3:53 ` rharwood
  0 siblings, 1 reply; 2+ messages in thread
From: John R. Dudeck @ 1991-05-28  6:05 UTC (permalink / raw)




I've asked this all around our campus, and no one knows the answer, so
I'm trying a little further afield...

We use Alsys Ada under AIX/370.  I want to read the command line arguments
from my Ada program.  I know how to do it in Verdix Ada, but there doesn't
seem to be any information available as to how it's done in Alsys.

The Verdix approach essentially mimics the C argc/argv approach.

-- 
John Dudeck                                              "You can only push
jdudeck@Polyslo.CalPoly.Edu                             simplicity so far."
ESL: 62013975 Tel: 805-545-9549                -- AT&T promotional brochure

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Reading command line in Alsys Ada on AIX?
  1991-05-28  6:05 Reading command line in Alsys Ada on AIX? John R. Dudeck
@ 1991-05-29  3:53 ` rharwood
  0 siblings, 0 replies; 2+ messages in thread
From: rharwood @ 1991-05-29  3:53 UTC (permalink / raw)


In article <2841f33e.3e3b@petunia.CalPoly.EDU>, jdudeck@polyslo.CalPoly.EDU
(John R. Dudeck) writes:

> I've asked this all around our campus, and no one knows the answer, so
> I'm trying a little further afield...
> 
> We use Alsys Ada under AIX/370.  I want to read the command line arguments
> from my Ada program.  I know how to do it in Verdix Ada, but there doesn't
> seem to be any information available as to how it's done in Alsys.

Anyone versed in more than 1 computing platform and professing to write
portable code owes it to themselves to download the CLI.* and CLI2.* files from
the PD2:<ADA.COMPONENTS> directory at wsmr-simtel20.army.mil.  They provide an
implementation of argc and argv for several environments, all used in the
Portable Text Formatter (and other ASR routines, I'd bet!)
-----
Ray Harwood           |Data Basix           |Associate Faculty,    
Voice: (602)721-1988  |PO Box 18324         |   Pima Community College
FAX:   (602)721-7240  |Tucson, AZ 85731     |Instructor in Ada and Pascal
CompuServe: 76645,1370|AppleLink: DATA.BASIX|Internet: rharwood@east.pima.edu

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1991-05-29  3:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1991-05-28  6:05 Reading command line in Alsys Ada on AIX? John R. Dudeck
1991-05-29  3:53 ` rharwood

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