L
lamthierry
I have the following piece of codes:
for (int i = 0; i < 10; i++)
function1();
for (i = 0; i < 5; i++)
function2();
Technically, I should be getting an error in the 2nd for loop but when
I compile the above with Visual .NET, everything compiles fine.
Any ideas what's wrong? I did not define I globally elsewhere.
Thanks
Thierry
for (int i = 0; i < 10; i++)
function1();
for (i = 0; i < 5; i++)
function2();
Technically, I should be getting an error in the 2nd for loop but when
I compile the above with Visual .NET, everything compiles fine.
Any ideas what's wrong? I did not define I globally elsewhere.
Thanks
Thierry