[REBOL] Re: 2 small bugs. Reported already?
From: arolls:bigpond:au at: 15-Jan-2001 2:32
> Bug 1:
>
> >>write/lines %test tail ["line1" "line2" line3"] ; expecting
> nothing writen
> >>read %test
> =="line1^/line2^/line3"
I get the same behaviour.
> Bug 2:
>
> >> ? =< ; supprise here
> USAGE:
> value1 = value2
>
> DESCRIPTION:
> Returns TRUE if the values are equal.
> = is an op value.
>
> ARGUMENTS:
> value1 -- (Type: any)
> value2 -- (Type: any)
> ** Script Error: Operator is missing an argument.
> ** Where: ? = <
>
> >> ? => ; expected behaviour to compare
> ** Syntax Error: Invalid word -- =>.
> ** Where: (line 1) ? =>
I suppose it's because '< is an open-tag delimiter.
Look at this:
>> 1 =< 4 6
== false
>> false =< 6 3
== true
It looks like this is happening:
< 4 6 ; returns logic! true, then...
1 = true ; returns logic! false
Anton.