int cnt = 0;
for infinite loop
{
//do stuff
if(//do stuff is what i need) // then break;
else cnt++;
//if cnt is above the limit then break;
}
jasimp commented: Love your avatar pic. Nice suggestion too :) +11
mrnutty 761 Senior Poster