Hi Raimund disclaimer I have not touched R3 yet.
R2 parse is not limited to strings, a binary is still a series and parse will accept a series. have you checked that the parsed result is a block of string and not a block of binaries? if so maybe since some binaries are just strings and parse is in string mode when it is splitting on chars not rules the result is allowed to be a string (conjecture) you might try to split a true binary (for example an image file) with a newline and see it the result is a string or binary Raimund Dold wrote: > Hi, > > thanx this works. But also raises another question for me. > > read %lines.txt returns a binary. Why is it possible to omit the to-string > and > still get a decent parse result? Is there an implicit to-string? > > Raimund > > Am Dienstag 17 Februar 2009 schrieb Peter W A Wood: >> Hi Raimund >> >> This should work with text: >> >> parse/all read %lines.txt newline >> >> == ["line 1" "line 2" "line 3" "line 4" "line 5"] >> >> Regards >> >> Peter -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.
