[comp.lang.ada] Reading command line in Alsys Ada on AIX?

jdudeck@polyslo.CalPoly.EDU (John R. Dudeck) (05/28/91)

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

rharwood@east.pima.edu (05/29/91)

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