You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
245 B
Plaintext
26 lines
245 B
Plaintext
7 years ago
|
# 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 < 10) {
|
||
|
print(d)
|
||
|
d = d + 1
|
||
|
}
|
||
|
|