[REBOL] Re: intersting side-effect to dynamic word usage...
From: ingo:2b1 at: 16-Nov-2001 13:06
Hi Romano,
Once upon a time Romano Paolo Tenca spoketh thus:
> Hi, Brett
>
> > > add the word in system/words, even if you're inserting it in a block
> > > directly.
> >
> > As far as I know, system/words is updated with every word defined in Rebol
> > by whatever means they are created.
>
> You can create words and use them normally, without adding them to the Global
> Context. Try:
>
> >> fx: first to-block "foo"
> == foo
<..>
> >> print in system/words fx
> none
<..>
I tried it ...
>> query/clear system/words
== [end! unset! error! datatype! context! native! action! routine! op! function! object!
struct! library! port! any-type! any-word!...
>> query system/words
== none
>> fx: first to-block "foo"
== foo
>> query system/words
== [fx]
>> probe system/words
== [ <... shortened a little ...>
link-init-done: unset
link-sweep-app: unset
fx: 'foo
]
>>
Seems to me, it _is_ added to system/words, though I don't understand
why it returns 'none ...
kind regards,
Ingo