Hi!
You can also use FREAD(). If file is large, FiletoStr() might be not good idea to put entire file into a string in the memory. By using FREAD you will do the same in a loop.
>Hi Vlad,
>
>I gave SYS(1104) a try but nothing changed in the words of physical memory leak. I'll try to re-write my code with the use of FILETOSTR(). Anyway, thanks for a hint.
>
>Przemek
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.