Olivier wrote:
> So, is unset! a datatype! or not ?

Eric discovered this sometime ago. It's a bug that REBOL crew haven't got
around to fixing yet. In my most recent %Patch.r file, this is fixed with
this code:

if not value? 'unset! [
    unset!: (type?)
    ]

if not value? 'action! [
    action!: type? :action?
    ]

Andrew Martin
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
-><-



----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, 28 February 2000 2:14 AM
Subject: [REBOL] [BUG] unset!


> Look at that :
>
> >> type? %f
> == file!
> >> type?
> == unset!
>
> So unset! seems to be a datatype.
> Lets verify if unset! is a datatype :
>
> >> type? file!
> == datatype!
> >> type? unset!
> ** Script Error: unset! has no value.
> ** Where: type? unset!
>
> But :
>
> >> type? type? %f
> == datatype!
> >> type? type?
> == datatype!
>
> So, is unset! a datatype! or not ?
>
> This also has an impact when using "mold" and "do" :
>
> >> do mold type? %f
> == file!
> >> do mold type?
> ** Script Error: unset! has no value.
> ** Where: unset!
>
> Olivier.
>
>

Reply via email to