[fpc-devel]Weird isn't it ?

Anton Tichawa anton.tichawa at chello.at
Thu Feb 13 02:03:50 CET 2003


Hi!

> It is not. You should AT LEAST put the
>
>    AFS.ChDir(FFilePath);
>    FFS.ChDir(SavedPath);
>
> In a try/finally block:
>
>    AFS.ChDir(FFilePath);

In your example, you actually put the AFS.ChDir(FFilePath) OUTSIDE the 
try/finally block (smile).

Anton.

----------

"Adas Methode war, wie sich zeigen wird, Tagträume in offenbar korrekte 
Berechnungen einzuweben."

Doris Langley Moore: Ada, Countess of Lovelace (London 1977).

----------

Anton Tichawa
Volkertstrasse 19 / 20
A-1020 Wien
mobil: +43 664 52 07 907
email: anton.tichawa at chello.at

----------



More information about the fpc-devel mailing list