|
hrmph, can't edit my posts...
umm, I have another technical question...
I had a bunch of processes which I wanted to repeat, so I put them in a while loop, however I kept on getting an 'array index out of bounds' exception, I was stuck on it for a long time last night, trying to find the problem. Today I was talking about it with someone at uni and he suggested I change the while loop to another kind of loop, I just changed it to a for loop, and it worked.
Is there something in while loops other than what they do that was causing the exception? Or am I just going insane, and sleep and some time off from the computer helped me get the thing to work...
|