[REBOL] Re: R: Mutability and sameness - a new puzzle
From: g::santilli::tiscalinet::it at: 23-Jul-2001 19:05
Hello Romano!
On 23-Lug-01, you wrote:
RT> Do you think that when one changes the Binding of a word,
RT> Rebol delete the old word and creates a newer one? I think it
RT> change only a propriety of a word, leaving the rest the same.
This is an interesting question. I usually ask this kind of
questions to REBOL itself:
>> block: [a]
== [a]
>> a: 1
== 1
>> obj: make object! [a: 2]
>> get first block
== 1
>> get bind first block in obj 'self
== 2
>> get first block
== 1
>> get in obj first block
== 2
>> get first block
== 1
Because of this reason, I tend to believe REBOL's creating a new
word. Of course, it might just be that FIRST is creating a new
word, but I consider this quite unlikely.
Regards,
Gabriele.
--
Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/