comp.lang.ada
 help / color / mirror / Atom feed
From: swrinde!zaphod.mps.ohio-state.edu!caen!uvaarpa!software.org!blakemor@gate ch.edu  (Alex Blakemore)
Subject: Re: VAX Ada question.
Date: 19 Sep 91 15:47:29 GMT	[thread overview]
Message-ID: <1991Sep19.154729.10604@software.org> (raw)

>In article <1991Sep18.043715.13529@ennews.eas.asu.edu> yhartojo@enuxha.eas.asu
.edu (Francis Hartojo) writes:
>>       how do you handle command line parameters in VAX Ada?

In article <4590@kluge.fiu.edu> mackey@scs.fiu.edu writes:
> use  VMS RTL_Routines LIB$ LIB$GET_FOREIGN

a better way (at least if you want to look and feel like a VAX command)
is to use the VMS command line interface routines (CLI).  This allows
you to define you command line syntax/defaults and rules about
which qualifiers go with others etc in a text file instead of your program.
you get default VMS behavior regarding abbreviations - prompting for missing
params etc, your application looks just like it came from DEC.
(foreign commands look just like that "foreign" to the VMS environment)

VMS Ada provides a package called CLI which serves as an Ada interface
to the CLI routines (use acs extract source to see it) its in every Ada
library (not sublibrary)

the spec isnt terribly readable, you probably should read the manual.

the name of the manual you want is the VMS Command Definition Utility Manual.
-- 
---------------------------------------------------------------------
Alex Blakemore           blakemore@software.org        (703) 742-7125
Software Productivity Consortium  2214 Rock Hill Rd, Herndon VA 22070

             reply	other threads:[~1991-09-19 15:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1991-09-19 15:47 swrinde!zaphod.mps.ohio-state.edu!caen!uvaarpa!software.org!blakemor [this message]
  -- strict thread matches above, loose matches on Subject: below --
1991-09-18 23:54 VAX Ada question agate!bionet!uwm.edu!cs.utexas.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state
1991-09-18 23:54 agate!bionet!uwm.edu!cs.utexas.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state
replies disabled

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