From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,86b5b274785d017e X-Google-Attributes: gid1164f8,public From: Adrian Birkett Subject: Re: Fetching command line parameters from Vax Basic Date: 1999/08/16 Message-ID: <37B843F7.5365B55F@csc.com>#1/1 X-Deja-AN: 513461861 Content-Transfer-Encoding: 7bit References: X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: support@csc.com X-Trace: lore.csc.com 934823001 14081 20.9.167.113 (16 Aug 1999 17:03:21 GMT) Organization: Computer Sciences Corporation Mime-Version: 1.0 NNTP-Posting-Date: 16 Aug 1999 17:03:21 GMT Newsgroups: comp.sys.dec 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! :)