Could somebody tell why this fails?
RBS
B4X:
Sub TestByteLoop
Dim i As Byte
Dim arrBytes(128) As Byte
For i = 1 To 127
Log(i)
arrBytes(i) = i '<< how can i go past 127 here?
Log(arrBytes(i))
'If i = 127 Then Exit 'this fixes it, but why is it needed?
Next
End Sub
RBS