Hi Pierre, On Tuesday, May 9, 2006, 8:15:28 PM, you wrote:
>> - Your 'aliases has a subtle bug. Try >> ctx: context [w1: none] >> probe aliases? 'w1 in ctx 'w1 PJ> Your example fails. This isn't a bug. A labelling word within an PJ> object isn't a first class word, at least not in the 'global PJ> context'. It's an "invisible word" until we peek into the PJ> internals of ctx to see it. Isn't it not the case the "REBOL PJ> doesn't look into a block until you tell it to do so". Wait, that's wrong. >> word: 1 == 1 >> ctx: context [word: 2] >> type? 'word == word! >> type? in ctx 'word == word! >> equal? 'word in ctx 'word == true >> same? 'word in ctx 'word == false >> get 'word == 1 >> get in ctx 'word == 2 PJ> Only the 'ctx' in your example is a word to a definitional. PJ> 'ctx/w1 is a path to an aspect of an object. No. An object is a context, it contains word bindings, not "aspects". It may be ok if you want to change all the terminology, but be careful about not changing the meaning too, as that won't work. ;) Regards, Gabriele. -- Gabriele Santilli <[EMAIL PROTECTED]> --- http://www.rebol.com/ Colella Chiara software division --- http://www.colellachiara.com/ -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.
