Use the continue keyword. It skips to the next iteration.
for (i = 0; i < count; i++ )
{
if ( i == 5 )
continue;
stuff
}
WolfPack
Postaholic
2,051 posts since Jun 2005
Reputation Points: 572
Solved Threads: 115
was it the "return invalid" statement being in the wrong place?
JRM
Practically a Master Poster
621 posts since Nov 2006
Reputation Points: 130
Solved Threads: 75