Files
rgbds/test/asm/foreach.out
Rangi 6874f694e5 Implement FOREACH (#658)
This acts like `REPT` with a variable automatically
incremented across a range of values

Fixes #432
2020-12-29 21:30:42 +01:00

10 lines
125 B
Plaintext

0 1 2 3 4 5 6 7 8 9 -> 10
1 2 3 4 5 -> 6
10 9 8 7 6 5 4 3 2 1 0 -> -1
5 10 15 20 -> 25
3 6 9 12 15 18 21 24 27 -> 30
0
1
2
3