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

[REBOL] This has to be a known text-list bug...

From: carl:cybercraft at: 17-Mar-2004 21:25

>=== Original Message > >Carl Read wrote.. apparently on 17-Mar-2004/16:04:04+13:00 > >>So how come the first string has had its extra spaces removed?!? >>(Same result on View 1.2.1, 1.2.5 and 1.2.10.) And is there any >>known fix for this? >> > >>> layout [t: text-list "a b c" "a b c"] >>> probe t/data >["a b c" "a b c"] >== ["a b c" "a b c"] >>> layout [t: text-list as-is "a b c" "a b c"] >>> probe t/data >["a b c" "a b c"] >== ["a b c" "a b c"]
Well okay. :) But does as-is do anything more useful than stop the first entry in a text-list getting messed with? And is there an as-not to cause them all to have spaces extracted? In other words, why? -- Carl Read