Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Adrian Birkett <abirkett@csc.com>
Subject: Re: Fetching command line parameters from Vax Basic
Date: 1999/08/16	[thread overview]
Message-ID: <37B843F7.5365B55F@csc.com> (raw)
In-Reply-To: nasadowsk-1508992118040001@209-122-228-83.s337.tnt2.nyw.ny.dialup.rcn.com

In macro, I assign a symbol to run a program (generate foreign command) and
then use lib$get_foreign in the program.

This, I find, is easier than using the lib$dcl_parse command and then having
to deal with command definitions.

Ade.

--My own opinion--


Philip Nasadowski wrote:

> Ok, Ok, I know Basic is dead :)
>
> But, how can I fetch an arguement to the program typed in on the
> commandline?  Effectively, I want to be able to pass a numerical value to
> my program on the command line.  I know passing arguements is possible,
> though the Vax Basic online docs don't seem to touch on this (and I'm 100
> miles from the Vax - so I can't look at the hardcopy manual!)
>
> Basically, what I'm doing here is a script for a web page (I was
> origionally doing it as a DCL command proceedure, but that got too mess
> too quick - what's the limits on those scripts anyway?).  Kind of a slide
> show like thing - you pass it (in the URL) a number to indicate which
> image you want to see, and it displays it, with forward / back buttons, a
> small description, etc, or pass it 0 to get an index.
>
> Please tell me this is possible, as I don't want to find an account on a
> UN*X system to do this!!!
>
> Thanks! :)




  reply	other threads:[~1999-08-16  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-15  4:00 Fetching command line parameters from Vax Basic Philip Nasadowski
1999-08-16  4:00 ` Adrian Birkett [this message]
1999-08-16  4:00 ` Larry Kilgallen
1999-08-16  4:00   ` Philip Nasadowski
1999-08-17  4:00     ` Jerry Leslie
read-only archive

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