Anton Tichawa wrote:
> Convernig the optimization .. try replacing the last line,
> 
>  FFS.ChDir(SavedPath);
> 
> with
> 
>  AFS.ChDir(SavedPath);
> 
> Because, it might seem to the compiler, that the last instruction is
> write-only and should be deleted.


/me bows deeply in respect :)

i don't know how did You figure it out but i commented the
Write and applied Your suggestion. and now everything's OK

Thank You Anton.

Best regards
Luke 'Maly' O.

_______________________________________________
fpc-devel maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to