× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tomasz SkorÅa wrote:

I know how to read file as stream , but how in simple and smart way read
this file "row" by "row". Have you any example code?

Tomek, From my not very good memory, I think there is a parameter for
the file open that you specify to open it in ASCII mode. If I remember
correctly, all that really does is make the system aware of the record
delimiters, and when set you can read and write records like you want.
You may need to play games with the first byte. I dimly recall the first
byte containing the 2nd (LF) byte. Sorry this is vague. I hope it points
you to something useful. I usually read in binary mode and parse the
records myself.

- --
Pete Hall
pete@xxxxxxxxxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkvFBcQACgkQXczQcKdXKg7J7wCgiJdHaWwop4iQx1nAy9veDjLf
iHIAnRrQjgH+WRLm8Y3/IrGhSp3zP1GT
=AaDz
-----END PGP SIGNATURE-----

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.