[REBOL] Meaning, Value, Binding and Context Re:
From: lmecir:geocities at: 28-Aug-2000 17:52
Hi,
your explanation looks natural, but I am not sure, how it copes
with:
Example illustrating, that the same value and equality of Words
doesn't mean the same Binding (totally unnatural for human
languages and for some programming languages too):
blk: copy [a]
a: 11
b: make object! [append blk 'a a: 11]
print [
mold blk
":"
mold reduce blk
]
print [
"Do the first and the second element above have the same
Binding?"
same? first blk second blk
]
moreover, the "human approach" is out of luck when trying to
predict
the behaviour of:
f: func [level] [
make object! [
a: 2 * level
probe b: either zero? level [
f 1
] [
none
]
a: a + 1
]
]
probe f 0
Regards
L