ona/debug/app.ona

24 lines
256 B
Plaintext
Raw Normal View History

2023-05-24 01:22:29 +02:00
2023-08-23 00:49:23 +02:00
i = 0
2023-08-25 00:45:29 +02:00
while i < 5:
2023-08-23 00:49:23 +02:00
@print("hello, world")
2023-08-13 03:03:43 +02:00
2023-08-23 00:49:23 +02:00
i = i + 1
end
2023-08-25 00:45:29 +02:00
if i > 6:
@print("`i` greater than `6`")
elif i == 4:
@print("`i` is equal to `4`")
else:
@print("i'unno")
end
2023-08-23 00:49:23 +02:00
return {
.title = "Game",
.width = 1280,
.height = 800,
.tick_rate = 60,
2023-05-24 01:22:29 +02:00
}