Graeme Geldenhuys schreef:
2009/10/23 Vincent Snijders <[email protected]>:
Otherwise you cannot read it back. :-)
But using .WriteAnsiString() doesn't create a plain text file, so the
result is useless.
Is useless for your current use, I admit. Don't use it to create a plain text
file.
But if you want write ansistrings in a stream and read them back, you need to know
how much to read until the end.
Vincent
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal