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

[REBOL] Bug! - 'insert can't handle a binary value in a block as it's 'value arg

From: al::bri::xtra::co::nz at: 2-Oct-2000 21:12

Bug! - 'insert can't handle a binary value in a block as it's 'value argument
>> head insert tail #{012345} #{0123}
== #{0123450123} ; Correct!
>> head insert/only tail {012345} [{0123}]
== "0123450123" ; Correct!
>> head insert/only tail #{012345} [#{0123}]
== #{012345237B303132337D} ; Wrong!
>> head insert tail {012345} [{0123}]
== "0123450123" ; Correct!
>> head insert tail #{012345} [#{0123}]
== #{012345237B303132337D} ; Wrong! This also affects: 'append, 'repend and 'rejoin as well. Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/ http://members.xoom.com/AndrewMartin/