Sorry for the dumb question, i know is something elementary but i'm stuck.
The output is
-0 1 2 3 4 5
- 0 1 2 3 4 5
- 0 1 2 3 4 5
While i want the inner loop to generate:
- 0 1 2 3 4
- 5 6 7 8 9
- 10 11 12 13 14 and so on.
Thanks
B4X:
Dim maxn As Int = 5
For i = 0 To 5
i = i+1
For k = 0 To maxn
Log(k)
Next
Next
The output is
-0 1 2 3 4 5
- 0 1 2 3 4 5
- 0 1 2 3 4 5
While i want the inner loop to generate:
- 0 1 2 3 4
- 5 6 7 8 9
- 10 11 12 13 14 and so on.
Thanks