[Lazarus] Delphi5 -> Lazarus issues
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Tue Feb 17 23:04:36 CET 2009
jokrautzig at bluemail.ch schrieb:
> 1. After finalisation of "For I:=B To E Do..." in Delphi is I=E+1, in
> Lazarus it is I=E. (I remember, that using a For loop counter after
> finalisation is not recommended, but...)
The for loop counter is undefined after exit from the loop. Depending on
optimizations, it may be near the begin or end value, or the variable is
unchanged.
DoDi
More information about the Lazarus
mailing list