29 lines
316 B
Plaintext
29 lines
316 B
Plaintext
|
|
var i = 0
|
|
|
|
let pr = lambda (str):
|
|
@print("This is a func call")
|
|
@print(str)
|
|
end
|
|
|
|
while i < 5:
|
|
pr("hello, world")
|
|
|
|
i = i + 1
|
|
end
|
|
|
|
if i > 6:
|
|
pr("`i` greater than `6`")
|
|
elif i == 4:
|
|
pr("`i` is equal to `4`")
|
|
else:
|
|
pr("i'unno")
|
|
end
|
|
|
|
return {
|
|
.title = "Game",
|
|
.width = 1280,
|
|
.height = 800,
|
|
.tick_rate = 60,
|
|
}
|