[REBOL] Re: [Truth test fails]
From: tim:johnsons-web at: 19-May-2004 8:21
* Cyphre <[cyphre--seznam--cz]> [040519 02:18]:
> Hi Tim,
>
> just little notice...sometimes it is useful to know also this this kind of
> syntax(although in your case it is better to use get IMO)
>
> >> a: [false #[false]]
> == [false false]
> >> type? a/1
> == word!
> >> type? a/2
> == logic!
> >>
I'll be darned. I didn't realize that one could
do that. What would be the use for that feature?
Thanks
tim
> regards,
>
> Cyphre
>
> ----- Original Message -----
> From: "Tim Johnson" <[tim--johnsons-web--com]>
> To: <[rebol-list--rebol--com]>
> Sent: Wednesday, May 19, 2004 1:12 AM
> Subject: [REBOL] Re: [Truth test fails]
>
> >
> > * Ladislav Me??í?? <[lmecir--mbox--vol--cz]> [040518 15:01]:
> > >
> > > Tim Johnson napsal(a):
> > >
> > > >I'm seeing unexpected behavior from a truth test in a context.
> > <....> >
> > > >What am I doing wrong?
> > > >
> > > >thanks
> > > >tim
> > > >
> > > >
> > > see this:
> > >
> > > set [key val] [bold false]
> > > probe key
> > > set key val
> > > probe bold ; == false
> > > type? bold ; == word!
> >
> > Hah! forgot to use 'get
> > Thanks Ladislav!
> > tim
> >
> > --
> > Tim Johnson <[tim--johnsons-web--com]>
> > http://www.alaska-internet-solutions.com
> >
> > --
> > To unsubscribe from this list, just send an email to
> > [rebol-request--rebol--com] with unsubscribe as the subject.
> >
> >
> >
>
> --
> To unsubscribe from this list, just send an email to
> [rebol-request--rebol--com] with unsubscribe as the subject.
--
Tim Johnson <[tim--johnsons-web--com]>
http://www.alaska-internet-solutions.com