2009/10/23 Aleksa Todorovic <alexi...@gmail.com>: > constructor Create...; > procedure WriteStr(const fmt: String; const args: array of const); > procedure WriteStr(const s: String);
OK, I managed to solve the problem. I have two units that write to the output text file. The one unit I fixed by using "AOut.WriteBuffer(s[1], length(s));" syntax, but the file was still causing issues when opening with gEdit or Lazarus IDE. Evenually I found the problem. I forgot to change the other unit that also writes the the file, to use the new .WriteBuffer() syntax. Now the file generate seems to be plain text. Thanks for everybody's help. -- Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal