[REBOL] Re: Ladislav: Interpreter Essay
From: g:santilli:tiscalinet:it at: 17-Oct-2001 14:06
[Robbo1Mark--aol--com] wrote:
> I still think my original posting is correct as DO
> does EXIT if the last value in a block is an UNSET values.
Actually, is the other way around. EXIT just returns and UNSET!
value. In REBOL every function returns something, even if this
something is an UNSET! value (which means "I didn't return
anything useful").
> Again it's the distinction between UNSET & UNSET!
>> first reduce [print "Hi!"]
Hi!
>> type? first reduce [print "Hi!"]
Hi!
== unset!
>> datatype? first reduce [print "Hi!"]
Hi!
== false
>> datatype? do [print "Hi!"]
Hi!
== false
I can't see any difference here.
HTH,
Gabriele.
--
Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/