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

[REBOL] URL & setword bugs

From: al::bri::xtra::co::nz at: 18-Aug-2002 11:46

Joel wrote:
> Does anybody besides me think that this should be reported as a bug?
As shown by Joel on the mailing list:
>> type? garbage:"trash"
== string!
>> foo: garbage:"trash"
== "trash"
>> foo
== "trash" I feel that garbage:"trash" should result in a syntax error. And:
>> test: ["a" "b" "c" "d"]
== ["a" "b" "c" "d"]
>> i: 2
== 2
>> test/:i: "BBBB"
** Syntax Error: Invalid word -- :i: ** Near: (line 1) test/:i: "BBBB" I feel that test/2 should now be "BBBB" instead of the syntax error. After all the following works:
>> test
== ["a" "b" "c" "d"]
>> test/:i/1: #"z"
== "z"
>> test
== ["a" "z" "c" "d"] I've notified feedback of this problem. Andrew Martin ICQ: 26227169 http://valley.150m.com/