[fpc-devel] "Blank slate" next version of FPC

Nikolai Zhubr n-a-zhubr at yandex.ru
Wed Feb 20 22:23:47 CET 2019


Hi,

20.02.2019 23:56, wkitty42 at windstream.net:
[...]
>> 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

>
>




More information about the fpc-devel mailing list