Hi Gabrielle, UNSET! is the datatype! of an UNSET value and is a valid useable value The value UNSET is a value but is unuseable and as you rightly say equivalent to returning "NO" value.
I think we all agree? Mark In a message dated Wed, 17 Oct 2001 8:16:24 AM Eastern Daylight Time, Gabriele Santilli <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> - Amigan - REBOL programmer > Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/ > -- > 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.
