hmmm.. I also be glad if someone can explain this issue well

>> Fred: Try ["hello"]
== "hello"
>> fred
== "hello"

>> Fred: Try [print "hello"]
hello
** Script Error: Fred needs a value
** Near: Fred: Try [print "hello"]
>>

>> ? try
USAGE:
    TRY block
DESCRIPTION:
     Tries to DO a block and returns its value or an error.
     TRY is a native value.
ARGUMENTS:
     block -- (Type: block)

>> do [print "hello"]
hello
>> fred: do [print "hello"]
hello
** Script Error: fred needs a value
** Near: fred: do [print "hello"]
>> fred: do ["hello"]
== "hello"
>>

Looks like REBOL is being very consistent. 
So RebGurus, how do you interpret "returns its value" in this context?
Which Rebol statements have value?

thanks
./Jason




-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to