At 21:37 08/06/2005, you wrote:

I think it is unlikely Delphi 2005's fault. However, if you are using the "inline" directive, I have noticed some cases where the compiler loses track of which variable is which... even in simple things like FOR loops. If you're not using inline, then I would guess that this complex type is being misused/misallocated. A more detailed code sample would be helpful.

Yes, I have noticed the same thing (Delphi losing track of variables) in D3, D4, D5, D6 and D7.

To get around it (I have never figured out what causes it), I normally rewrite the loop so that it is no longer a for loop. But I have also noticed it using inc(var).

Regards

Tim

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to