On Thursday, 13-April-2006 at 13:13:10 Cesar Chavez wrote,

>Hi all, I don't understand this difference
>>> a: 1
>== 1
>>> b: 2
>== 2
>>> f1: [a < b]
>== [a < b]
>>> reduce f1
>== [true]
>
>>> f2: to-block "a < b"
>== [a < b]
>>> reduce f2
>** Script Error: a word has no context
>** Near: a < b
>
>
>>> = f1 f2
>== true
>
>
>Can someone help me?

Others can better explain why that doesn't work, but using LOAD on the string 
will give you the result you want...

>> a: 1
== 1
>> b: 2
== 2
>> f3: load "a < b"
== [a < b
]
>> reduce f3
== [true]

-- Carl Read.

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to