How can I read a text file character by character? I tried with
assignfile(file1,texte);reset(file1);
repeat
read(file1,s);
until eof(file1);
closefile(file1);
The identifier s gets the value of a whole row and after the first row is read, the application locks like in a closed loop between repeat and until. In Delphi run well, but I need this in Lazarus.
Thanks for your help!