I've had to put a For Next loop inside a Do While loop:
VB Code:
Do While i < 24 ' some code For j As Byte = 0 To 10 ' some more code If Rand(j) >= 33 AndAlso Rand(j) <= 126 Then If i = 24 Then Exit Do End If Next Loop
Is it OK to exit the Do While loop from within the For Next loop like that, or is it going to leave stuff on the stack? As usual MSDN Library is as clear as mud on the matter :(
