[REBOL] Re: 2 small bugs. Reported already?
From: g:santilli:tiscalinet:it at: 14-Jan-2001 18:21
Hello Marek!
On 13-Gen-01, you wrote:
MW>>> write/lines %test tail ["line1" "line2" line3"] ; expecting
MW>>> nothing writen read %test
MW> =="line1^/line2^/line3"
MW> My guess is, it's reported already
Maybe not; there's no problem if you report it another time,
anyway.
MW> Bug 2:
The parser seems to have problems with words that contain < or >,
since they delimit tags too. Other operators seem to have problems
too:
>> '+
== +
>> '*
== *
>> '/
** Syntax Error: Invalid word-lit -- '.
** Where: (line 1) '/
(that's because of paths, I presume). Workaroud:
>> first [ / ]
== /
MW>>> ? =< ; supprise here
It should be <=.
>> help <USAGE:
value1 <= value2
DESCRIPTION:
Returns TRUE if the first value is less than or equal to the second value.
<= is an op value.
ARGUMENTS:
value1 -- (Type: any)
value2 -- (Type: any)
MW>>> ? => ; expected behaviour to compare
Same here:
>> help >USAGE:
value1 >= value2
DESCRIPTION:
Returns TRUE if the first value is greater than or equal to the second value.
>= is an op value.
ARGUMENTS:
value1 -- (Type: any)
value2 -- (Type: any)
Regards,
Gabriele.
--
Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/