utab wrote:
> lets say I read field 3 and then I would like to go to the start of the
> newline immediately. I think it is more clear now.
Is it...? Well, then...
Using 'ignore()' as shown in my previous reply, you can skip all
characters and go the next newline. There is no way to kind of
"jump" there without having the library look at the characters
because the file does not have any knowledge about the structure
within. You might have some success with fixed record size when
using the "C" locale, i.e. when the characters are not encoded,
but I would personally rather have 'ignore()' for the next line
start.
--
<private.php?do=newpm&u=> <http://www.dietmar-kuehl.de/>
<http://www.eai-systems.com> - Efficient Artificial Intelligence
|