I'm trying to make a For-To-Do loops that has an if-then statement at the beginning where if the if-then statement is met, it will skip to the next value in the For-To-Do loop. Like
I was going to just have it add 1 to I but that would then not test the new value against the if-then statement. Is what I'm trying to do possible?Code:for i := 0 to High(BankingPoints) do begin if(distance(a, b, BankingPoints[I].x, BankingPoints[I].y) < 10)then //skip to next value in for-to-do loop goes here





Reply With Quote







