[REBOL] Re: using type? with switch
From: tim:johnsons-web at: 1-Oct-2001 21:08
On Mon, Oct 01, 2001 at 11:48:30PM -0400, Christian Morency wrote:
> Hi Jeff,
>
> > Here's an example:
> >
> > probe switch type?/word var [
> > string! [lowercase var]
> > email! [uppercase var]
> > block! [random var]
> > ...
> > ]
>
> Can't believe it was so simple ! We really need to check out the source of
> those native words sometime heh ?
When I work in rebol - more and more these days - as a matter of thought
- I always keep at least one session of rebol going for:
1)'help
2)'source
3)Testing single lines of rebol code
=> I use 'probe and 'mold a lot
not 'trace as much as I get a little overwhelmed
by its verbosity.
tj
> Best,
> Chris
>
> --
> 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