[REBOL] Re: Rebol interpreter bug with comparison of dates
From: carl:cybercraft at: 4-Dec-2002 13:51
On 04-Dec-02, [al--bri--xtra--co--nz] wrote:
> I discovered a problem with dates and comparisons:
>>> 'foo < 4/Dec/2002
> == false
>>> 4/Dec/2002 < 'foo
> ** Script Error: Cannot use lesser? on date! value
> ** Near: 4-Dec-2002 < 'foo
> Note that the comparison can't be reversed. This seems to affect all
> Rebol versions, including Rebol/Base.
> The correct response from Rebol should be like:
>>> 4/Dec/2002 < 'foo
> == false
Don't you mean true? Surely they both can't be greater than each
other?
--
Carl Read