On 2020-01-18 17:54, yary wrote:
"while" is the wrong looping construct for going over file lines, and
that's across a great many computer languages. It will stop when it
encounters a false line- typically an empty line or '0'
Try "for"
-y
Hi William,
I don't know if this will help you, but
I have a sitution when I read thousands of
lines into a string. The lines have
CR/LF in them. To read through the string,
line by line, I use Yary's suggestion with the
following addition:
for $x.lines -> $Line { magic stuff ; }
-T