Hi,
It took me quite a while to figure out what was happening....
Firstly, my program (opening text file, reading it, storing lines in another file) was working.
Then, after closing FPC and opening it again, my source was opened automatically but execution from editor didn't work any more.. I was staring in screed confused, checking the simple code again and again... until I closed source, find it's location and open it again to get it work again as before
Also, I had similar problem with help files - every time after closing IDE, it seems it forgets where the help files were and I had to load them again for the new session.
What I need to do to avoid this hassle?
I have another problem:
The following loop never ends:
while (not EOF) do // EOF is apparently not recognised, prog never stops.
begin
readln(MyFile, s);
Writeln(Myfile_out, data);
end;
MyFile has only 3 lines, but MyFileout could be of infinite length, if I do't stop the app.
Thank you!