[EMAIL PROTECTED] wrote:

> At 05:14 AM 1/21/00 +0000, you wrote:
> >
> >in python it is pretty simple
> >to make a script that can tell if it has
> >been included in another script.
> >
> >when called as a unit on their own, these scripts
> >simply exercise some regression tests and stop.
> >
> >in rebol tho?
> >
> >
> Hi Bob,
>
> If system/script/parent/parent is none!, then you have not been included by
> another script. The following example should help:

Jim, now system/user/words and system/script/words come to question. Is it
still planned to offer us such separate contexts with some clever functions to
make some words/funcs/objs visible/invisible to another contexts or something
like that?

What about modules? IIRC, Carl mentioned modules for 2.2 - so - still planned?

Thanks,

-pekr-

>
>
> either none? system/script/parent/parent [
>         Print "done from the console or command line"
> ][
>         Print "done from a script"
> ]
>
> Hope this helps.
>
>  - jim

Reply via email to