Anton Tichawa wrote: > In your example, you actually put the AFS.ChDir(FFilePath) OUTSIDE the > try/finally block (smile).
well, exception handling isn't important, they'are handled outside this code and ChDir can't fail i.e raise any exception. The main question is why Write changes code execution/generation ? i tried anything and if there is no Write inside the constructor i'll alway get a FIndex=0 and the Exception isn't even raised :O. The next thing i want to try is delphi's compiler. I'm almost 100% sure about this code being correct. and if delphi will compile this and it'll work ok then i guess i'll hang myself :) or just wait til release of a bugless fpc snapshot/1.2/2.0 :> Best regards Luke 'Maly' O. _______________________________________________ fpc-devel maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-devel
