[REBOL] Re: DO/ARGS problem
From: anton::wilddsl::net::au at: 13-Dec-2007 13:16
Hi Giuseppe,
Giuseppe Chillemi wrote:
> The argumens for the second script are those of first script
>
> I have checked and:
>
> probe system/options/args returns the values of the first one
> probe system/script/args returns the value of the second
>
> As the second script could be executed either alone or started from the
> first one, how could I change the argument approach ?
>
> Giuseppe Chillemi
Maybe system/script/parent/args can help you here.
You can check system/script/parent to see if the script
was started by another one.
Anton.