Page 1 of 1

Compilation Error

Posted: Wed Nov 04, 2009 9:38 am
by noor_aub
Please Any Body help me I am getting compilation error on a problem. Here is my code

Code: Select all

Thnks

Re: Compilation Error

Posted: Wed Nov 04, 2009 9:44 am
by sohel
The scope of variable i is within the for loop. So, when you try to access i outside the loop, you get compile error.
Declare i before the for loop starts to get rid of CE.