add comments, fix std bugs, add menu

This commit is contained in:
suchmememanyskill
2021-07-23 14:03:49 +02:00
parent 6543a245c4
commit 5bd4dd3a48
10 changed files with 111 additions and 19 deletions

View File

@@ -2,10 +2,16 @@ println("Testing pause")
x = pause()
println(x.raw, " ", x.a, "", x.power)
println("Testing masked pause")
x = pausemask(1 << 3)
x = pause(1 << 3)
println(x.raw, " ", x.a)
color(0xFF0000)
println("This text should be red!")
color(0x00FF00)
println("and this green!")
COLOR_RED = 0xFF0000
COLOR_BLUE = 0x0000FF
menu(["a", "b", "c"], 1, [COLOR_BLUE, COLOR_RED | 0x1000000, COLOR_BLUE]).print()
exit()