ARexx (19/77)

From:Andreas Mixich
Date:7 Apr 2001 at 19:53:18
Subject:Re: One too much...

Neil Bothwick wrote in a Mail about "Re: [arexx] Re: One too much...":

> Another solution is

> call open(file,...)
> x = readln(file)
> while not eof(file)
> /* do stuff */
> x = readln(file)
> end

> so the eof test is made immediately after the read. This one works with
> files where blank lines matter, the previous two don't. Or you could use
> the rmh function to read a file into a stem.

Oddly enough, that does not work for me. I get the same results as before.
One (empty) list item too much.

Good bye,



Andreas
<sp.amix@gmx.net>
Cool links #0013:

------------------------ Yahoo! Groups Sponsor ---------------------~-~>
Find software faster. Search more than 20,000
software solutions on KnowledgeStorm. Register
now and get started.
http://us.click.yahoo.com/PabFaA/INSCAA/Jh4EAA/stAVlB/TM
---------------------------------------------------------------------_->

ARexx mailing list - No flames, no overquoting, no crossposting.
Unsubscribe: Blank mail to mailto:arexx-unsubscribe@onelist.com

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/