>From rebol22-draft-manual\expevaluation.html:
{{
Words are evaluated somewhat differently than simple values. When a word is
evaluated its value is looked-up, evaluated, and returned as a result.
}}

This statement looks oversimplified to me.
It is not valid in the following example:

b: "Expected result"
a: 'b
a

yields:
>> b: "Expected result"
== "Expected result"
>> a: 'b
== b
>> a
== b

,which surely differs from evaluated B

It shall be reworded to something like this:

{{
Words are evaluated somewhat differently than simple values. When a word is
evaluated, its assigned value is looked-up. If the assigned value is a word,
the assigned value is returned as a result. If the assigned value is not a
word, it is evaluated and returned as a result.
}}

Ladislav

Reply via email to