Hi,

sorry, but it is me again.
Your example works for the testfile I provided in the mail but failed on th=
e=20
very next file I tested.

The testfile (named testfile.dat) looks like this:
=2D----------------------------
"St=FCck/Nominale";"Bezeichnung"
"4,636";"NAME"
=2D----------------------------

Just two lines to get clear results.
If I read the file testfile.dat with the following line in R3

>> dat: parse/all read %testfile.dat newline
=3D=3D ["St=FCck/Nominale" {;"Bezeichnung"} "4,636" {;"NAME"} "" "" "" "" "=
"]

>> length? dat
=3D=3D 9

Using parenthis around the newline gives even stranger results:
>> dat: parse/all read %testfile.dat {newline}
=3D=3D ["St=FCck/Nominale" {;"B} "z" "" "ch" "u" {g"
"4,636";"NAME"





}]

>> length? dat
=3D=3D 7

>> dat/2
=3D=3D {;"B}

Any more suggestions?

Raimund

Am Dienstag 17 Februar 2009 schrieb Peter W A Wood:
> Hi Raimund
>
> This should work with text:
>  >> parse/all read %lines.txt newline
>
> =3D=3D ["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.

Reply via email to