[REBOL] Re: Command Line Revisited
From: learned::talentsinc::net at: 27-Sep-2001 13:38
Yep, that was it...as I understand it now, if I pass a script name, the
variables from the command line are associated with that script, but if
there is no script name, or if the -- delimiter is used, they end up under
system/options. Cool, I can deal with that. What do I need to get to find
the documentation on all these little gotchas?
Gary
--On Thursday, September 27, 2001 11:04 AM -0600 Gregg Irwin
<[greggirwin--starband--net]> wrote:
> Hi G,
>
> << I can see the filename in system/script/args with no problem. However,
> if I
> place a do %script.r in my user.r file, and call it with:
>
> rebol --secure allow -w -q c:\filename.txt
>
> I get 'none' in my system/script/args var. >>
>
> Have you tried system/options/args? There was a discussion about this a
> short
> time ago I believe.
>
> --Gregg
>
> --
> To unsubscribe from this list, please send an email to
> [rebol-request--rebol--com] with "unsubscribe" in the
> subject, without the quotes.
---
G. Edw. Learned - [learned--talentsinc--net]
(Never apply a Star Trek Solution to a Babylon Five Problem)