Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] [REBOL][logic!] another bug ?

From: Christophe:Coussement:mil:be at: 23-Jul-2004 11:26

Hi list, As I was converting XML data to REBOL datatypes, I struggeled on this one: REBOL/View 1.2.10.3.1 6-Aug-2003 Copyright 2000-2003 REBOL Technologies. All rights reserved. REBOL is a trademark of REBOL Technologies. WWW.REBOL.COM
>> to-logic "true"
== true ;==> ok
>> to-logic "false"
== true ;==> yerk
>> make logic! "false"
== true ;==> yerk again
>> to-logic 'false
== true ;==> etc... If it isn't a bug, what's the point of 'to-logic, other than:
>> to-logic 1
== true
>> to-logic 0
== false =xtof