Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: RAMBO #3652 unset?

From: lmecir:mbox:vol:cz at: 23-Mar-2005 12:30

Arie van Wingerden napsal(a):
> >Hi Ladislav / Romano, > >in order to get a grip I played around with your examples, but I don't >understand the following: >why give the following 2 cases different results? > 1 >>unset 'var > >>unset? 'var > == false > 2 >>unset? unset 'var > == true > >The only thing I can think of is that unset! is not a datatype of the >variable being unset. >E.g. after unset 'x x would not have a datatype of unset! (which I thought >was true). >Instead unset! would just be the returned value of unset itself only. > >Thanks! > Arie >
a little note: unset? ... is equivalent to: unset! = type? ... while type? 'variable is always equal to word! HTH