Now, can anyone see anything wrong with this code?
Code: Select all
for(int j=0;i<amount;j++)
{
//code here
}
Scroll down for answer...
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
I mixed up Js with Is... in the for loop, I was declaring j=0, checking if i was less than amount and incrementing j.... such a gay little problem. I am so happy now that I have solved this ***** of a problem. I can't believe it was something so stupid.
You may have seen the problem straight away, but in my text editor the I and the J look very similar.