[REBOL] Re: [REBOL][logic!] another bug ?
From: Christophe::Coussement::mil::be at: 26-Jul-2004 8:43
Hi Anton, Gregg, Carl and the friendly others
> I suppose you already have a solution,
> but maybe it looks better to do this:
>
> >> get to-word "false"
> == false
> >> get to-word "true"
> == true
Cool ! I did get this one. My solution was less elegant:
to-logic*: func [val [string!]][
return switch/default val ["false" [false] "true" [true]][none]
]
I learn every day thanks to you all ;-))
==xtof