On 2/20/19 2:08 PM, Nikolai Zhubr wrote:
20.02.2019 18:24, Dimitrios Chr. Ioannidis via fpc-devel:
[...]
I'd like to see an example how this is less safe.
Well one of the answer in the Cantu blog has this ( which I changed to
lets say a "real world" relative big function ) :
How this example is different from e.g. using normally declared "I, J: Integer"
and employing "J" as a loop variable? Wouldn't it do the same error anyway?
i think he's pointing out the two instances of
var I
in the code... one at the top and one in the loop... at best that would be a
redeclaration defect in the code to me...
--
NOTE: No off-list assistance is given without prior approval.
*Please keep mailing list traffic on the list unless*
*a signed and pre-paid contract is in effect with us.*
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel