2009/10/23 Graeme Geldenhuys <graemeg.li...@gmail.com>: > 2009/10/23 Vincent Snijders <vsnijd...@vodafonevast.nl>: >> >> Otherwise you cannot read it back. :-) > > But using .WriteAnsiString() doesn't create a plain text file, so the > result is useless. And as my last post says, the method Gerard > suggested is also not 100%. > > > It seems extra hard to create a normal, plain, standard text file with > the TFileStream class. This should had this puzzle to a "Programming > Olympiad" - it's tougher than one thinks. > > Anyway, so now I'm back to square one - unable to create a plain text > file with TFileStream. :-(
Maybe you need to put the line endings in manually? Henry _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal