mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
* TODO: break and continue keywords need to be implemented * TODO: while-then needs testing * Fixed the parser not liking zero-length strings
10 lines
74 B
Plaintext
10 lines
74 B
Plaintext
var a: int = 0;
|
|
|
|
while(a < 10) {
|
|
print a;
|
|
a += 1;
|
|
}
|
|
|
|
print "Finished";
|
|
|