Ladislav,

sorry about the confusion, I your new essay you said that DO returns the last value in 
a block! as the result.

But you can never get UNSET returned as the result of
an expression ie

== unset

sure you can get
== [unset]
or
== unset!

but these are block! and datatype! values.

When DO encounters the UNSET value which has the UNSET! datatype it EXITS to the 
system console prompt.

ie

>> do reduce [print 1]
1
>> 

We don't get
>> do reduce [print 1]
1
== unset

That's all I was trying to say. That in these instances
for all intents and purposes there is NO "Result".

That's all, just trying to make your essay more precise.

Sorry if I've wasted yor time, Iam sure we both know the
pitfalls of UNSET all too well. 

cheers,

Mark



In a message dated Tue, 16 Oct 2001 12:08:03 PM Eastern Daylight Time, "Ladislav 
Mecir" <[EMAIL PROTECTED]> writes:

> Hi Mark,
> 
> I may not understand what you are trying to tell me, but I was saying, that
> all the following Rebol expressions:
> 
>     ; # 1
>     print 1
> 
>     ; # 2
>     do [print 2]
> 
>     ; # 3
>     ()
> 
>     ; # 4
>     f: does [exit] f
> 
>     ; # 5
>     first reduce [()]
> 
> all yield identical Rebol value. The value in question has the UNSET!
> datatype.
> 
> Cheers
>     Ladislav
> 
> -- 
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the 
> subject, without the quotes.


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

Reply via email to