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

[REBOL] Re: how to correctly unset a word?

From: greggirwin:mindspring at: 25-Apr-2003 11:12

Hi Petr, I'm not sure why unset? returns false, but maybe Romano, Gabriele, or Ladislav will jump in with an answer. You could work around it like this:
>> type? get/any 'ccd
== unset! But, I'm not sure why you need to UNSET the value, rather than just setting it to NONE when you close the port, and be sure to wrap all your port accesses with error handlers. -- Gregg