feat: execute fixed arrays and indexed access

This commit is contained in:
2026-10-10 17:21:43 +02:00
parent cf39481bfc
commit c6a56b7e79
23 changed files with 3474 additions and 256 deletions
+12
View File
@@ -0,0 +1,12 @@
main proc() int {
values [4]mut i64 := [1, 2, 3, 4]
values[2] = 10
total := 0
count usize :: 4
for 0..count |index| {
total = total + values[index]
}
return total
}