Hi Pierre,
On Wednesday, May 10, 2006, 7:57:01 PM, you wrote:
PJ> 1) Context means ... CON = "with" text = "body of word"
I'm sorry, I was referring to REBOL, not to English.
PJ> In other words, a REBOL prototype ("object") is just a fancy
PJ> block with a fancy way to "name the elements" inside that block
PJ> and access those elements inside that block using named path
PJ> notation
Well, you can look at it that way, but you're missing the other
80% of REBOL. Objects are a special case of context, not the other
way around. There are contexts without there being OBJECT!s, for
example those created with USE and FUNCTION!.
>> x: 1
== 1
>> b: [x]
== [x]
>> append b use [x] [x: 2 'x]
== [x x]
>> append b in context [x: 3] 'x
== [x x x]
>> append b do func [x] ['x] 4
== [x x x x]
>> reduce b
== [1 2 3 4]
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.