interpreter/test3

26 lines
245 B
Plaintext
Raw Normal View History

2018-03-21 12:29:09 -04:00
# test3
# verify builtin functions, conditionals and such
a = 5
func(checka) {
if (a == 5) {
print("a == 5")
} else {
print("a != 5")
}
}
checka
print("Increment a...")
a = a + 1
checka
d = 0
while (d < 20) {
2018-03-21 12:29:09 -04:00
print(d)
d = d + 1
}