[fpc-devel]Weird isn't it ?

Michael Van Canneyt michael.vancanneyt at wisa.be
Thu Feb 13 09:25:28 CET 2003


On Thu, 13 Feb 2003, Anton Tichawa wrote:

> 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).

That is as it should be :-)

Michael.




More information about the fpc-devel mailing list