* Izkata <[EMAIL PROTECTED]> [051001 09:48]:
>
>
>
>
> >> I avoid it, since it's a bit too easy to accidentally use v
> >> without checking it it's an unset! or not.
> >
> > Not clear on what you mean, can you elaborate on what
> > the "gotcha" might be?
>
> Here's a simplified form of what sometimes happens when
> I create a script:
>
> A: func [v [any-type!]][
> either not unset? get/any 'v [return {9}][return mold 1 + v]]
>
> 'not doesn't belong there... so this one will err if you let v be unset.
Sounds like unset? is best used as part of library of functions like
the one that you just turned me on to...
thanks
tim
> And I do stupid things like that more often than I usually admit...
> (Such as 1 + 3 = 5 on a Calculus test =^.^=)
>
> -Izzy
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
--
Tim Johnson <[EMAIL PROTECTED]>
http://www.alaska-internet-solutions.com
--
To unsubscribe from the list, just send an email to
lists at rebol.com with unsubscribe as the subject.