[REBOL] VIM/Was Re: using type? with switch
From: tim:johnsons-web at: 2-Oct-2001 19:46
<snip>
> Hmmm... Fascinating, in view of
>
> >> vi: 123
> == 123
Joel: could it be that you're using Vim? If so, I have a rebol.vim that
I've worked up to current.
If not: Please! Please! Don't be offended. :>)
> >> type? vi
> == integer!
> >> to-word type? vi
> ** Script Error: Expected one of: word! - not: datatype!
> ** Where: to-word
> ** Near: to word! :value
>
> which precludes the obvious
>
> switch to-word type? var [
> string! [...]
> integer! [...]
> decimal! [...]
> ...
> ]
>
> -jn-
>
> --
> "This sentence contradicts itself -- no actually it doesn't."
> -- Doug Hofstadter
> joel<dot>neely<at>fedex<dot>com
> --
> To unsubscribe from this list, please send an email to
> [rebol-request--rebol--com] with "unsubscribe" in the
> subject, without the quotes.
--
Tim Johnson <[tim--johnsons-web--com]>
http://www.johnsons-web.com