GeneralShamu
Board Regular
- Joined
- Jul 6, 2007
- Messages
- 127
I have the following setup
For i = 1 To #
For j = 1 To #
if (i = 5 & j = 7)
[exit both for loops]
end if
Next j
Next i
Does anyone know how to do that? If I put 'Exit For' in the if body, would it still read code up to the 'End If'?
For i = 1 To #
For j = 1 To #
if (i = 5 & j = 7)
[exit both for loops]
end if
Next j
Next i
Does anyone know how to do that? If I put 'Exit For' in the if body, would it still read code up to the 'End If'?