Re: [fpc-pascal] Switch from string to ansi/wide

2008-05-05 Thread Luca Olivetti
En/na Eduardo Morras ha escrit: Can you point me on how to get a text (ascii, not utf8, utf16 or similar) file? Use "text" or "textfile" instead of "file of string". BTW, you can use "writeln" if you want to add a line terminator. Bye -- Luca ___ fp

[fpc-pascal] Switch from string to ansi/wide

2008-05-05 Thread Eduardo Morras
Hello: I writing an app that works with text. I use strings and define the output file as file of string. All works fine but it's limited to 255 characters. Now i changed to ansistring (every from "string" to "ansistring") and compiles without any problem, but when i open the text file i get