FOR STATEMENTS WORK!!!!!

This commit is contained in:
SpookyDervish
2025-10-16 17:35:00 +11:00
parent 600bebb9b2
commit 1d6c3db5e4
4 changed files with 25 additions and 42 deletions

View File

@@ -1,6 +1,6 @@
main = Func(): Int {
for (x: Int = 1; x <= 20; x = x + 1) {
print("i = %i\n", x)
for (x: Int = 1; x <= 20; x = x + 1;) {
$print("i = %i\n", x)
}
return x;