Implemented for loops
This commit is contained in:
@ -3,7 +3,7 @@ import mem
|
||||
main() {
|
||||
a := mem.alloc(4)
|
||||
|
||||
loop i := 0..4 {
|
||||
for i := 0..4 {
|
||||
a[i] = i * 2
|
||||
assert a[i] == i * 2
|
||||
}
|
||||
|
Reference in New Issue
Block a user