Re: Can I pass parameters from the command line ?
Stan Bischof ((no email))
Mon, 16 Jan 1995 08:11:06 -0700 (PST)
hewat@ill.fr (Alan Hewat, ILL Grenoble) wrote:
> I'm glad to find that this list still exists ! My membership must have
> expired a few months (!) ago, and I seem to have assumed that the list
> had died ;-)
>
> My question: I have an independent stack that is a GUI to an application.
> Can I pass parameters to the stack from the command line I use to start up ?
>
> eg myStack -option1 -option2 -etc
>
I do this regularly, with passed parameters being treated as in a shell
$0 = process name (myStack above)
$1 = first parameter (-option1 above)
etc
----------------------------------------------------------------------
Stan Bischof Hewlett Packard Company 707-577-3994 stanb@sr.hp.com
----------------------------------------------------------------------