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

[REBOL] loading a date!

From: hallvard:ystad:oops-as:no at: 21-Jun-2004 21:44

Hello folks. I think I have some abnormal functionning here. I have three words, 'a, 'b and 'c:
>> a: "10-Dec-97/19:55:17/GMT"
== "10-Dec-97/19:55:17/GMT"
>> b: "10/Dec/97/19:55:17/GMT"
== "10/Dec/97/19:55:17/GMT"
>> c: "10-Dec-97/19:55:17"
== "10-Dec-97/19:55:17" They are indeed very similar, but 'b has slashes where 'a and 'c have dashes. 'A is append c "/GTM". But look what happens when I load these three:
>> load a
== [10-Dec-1997/19:55:17 /GMT ]
>> load b
== 10-Dec-1997/19:55:17
>> load c
== 10-Dec-1997/19:55:17
>> type? load a
== block!
>> type? load b
== date!
>> type? load c
== date! It behaves like this on /View, /Core and /Core Do you all agree that this is a bit weird? Hallvard PS. Excuse me for sending duplicate test messages. I received one of them right now, with one hour delay. I thought it was gone missing.