Hi
I have a code like this
The List length is 2.
The problem is, whenever the "if" inside loop is done, the loop will break.
The "i" is still equal to 0, but the loop break.
I have a code like this
B4X:
If ..... Then
For i = 0 to List.Size - 1
If ..... Then
If .... Then
//do something
Else
//do something
End If
Else
If .... Then
//do something
Else
//do something
End If
End If
Next
End If
The List length is 2.
The problem is, whenever the "if" inside loop is done, the loop will break.
The "i" is still equal to 0, but the loop break.