open and read commands
Kenneth Brody
kenbrody at bestweb.net
Mon Dec 3 07:05:43 PST 2007
Quoting fp (Sat, 01 Dec 2007 19:19:16 -0700):
[...]
> That said, to answer your question:
> - You MUST look into the usage of openline(), readline() and seek() to
> get the job done. Readline() alone will not do what you are thinking of,
> at least not the way you are approaching it (just speculating judging from
> your posts). You need to use seek() to place your pointer, readline() to
> extract content.
[...]
I'm not sure where you think that SEEK() fits into things here. If you
want to sequentially read the file, then READLINE() all by itself will
suffice, as each call will return the next line. (Assuming, of course,
that each thing you want to read is terminated with a newline.)
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com
More information about the Filepro-list
mailing list