Hi,
20.02.2019 23:56, [email protected]:
[...]
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...
I'd suppose inline redeclaration of an already existing local variable
or parameter name should be prohibited. If Embarcadero allows that then
they must be quite crazy...
Thank you,
Regards,
Nikolai
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel