comp.lang.ada
 help / color / mirror / Atom feed
From: kilgallen@eisner.decus.org (Larry Kilgallen)
Subject: Re: How to pass commandline parameters to a vax vms ada main prog
Date: 1997/01/25
Date: 1997-01-25T00:00:00+00:00	[thread overview]
Message-ID: <1997Jan25.131045.1@eisner> (raw)
In-Reply-To: 32E94CAC.4148@lmtas.lmco.com


In article <32E94CAC.4148@lmtas.lmco.com>, Ken Garlington <GarlingtonKE@lmtas.lmco.com> writes:

> In addition to the Ada advice already posted, don't forget that you
> will need to define your executable as a foreign command; e.g. for
> executable TEST.EXE
> 
> TEST :== $disk:[directory]TEST.EXE
> 
> The dollar sign at the front is important. Then, you should be able to
> execute TEST as a verb:
> 
> $ TEST stuff
> 
> and read/parse "stuff" successfully.

You can get away without defining a symbol if you are willing to do more
typing for each invocation:

	$ MCR disk:[directory]TEST.EXE StUFf

An example of a situation where lots of typing per invocation is when
every invocation will be from a command procedure.  The computer does
not care.

The basic rule about command line parsing in VMS, no matter how you
do it, is that there will be nothing to parse if you use the RUN
command to invoke the program.

Larry Kilgallen




  reply	other threads:[~1997-01-25  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-23  0:00 How to pass commandline parameters to a vax vms ada main prog Markus Wolfgart
1997-01-23  0:00 ` Peter Amey
1997-01-23  0:00 ` Larry Kilgallen
1997-01-24  0:00 ` Ken Garlington
1997-01-25  0:00   ` Larry Kilgallen [this message]
1997-01-27  0:00     ` Ken Garlington
replies disabled

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