while statements (ch23)

This commit is contained in:
2024-08-27 14:15:29 +02:00
parent 9de028d09c
commit d67c99ffe5
5 changed files with 40 additions and 0 deletions

6
samples/ch23_while.lox Normal file
View File

@ -0,0 +1,6 @@
var i = 0;
while(i < 10) {
print i;
i = i + 1;
}