2024-01-21 22:05:51 +00:00
|
|
|
%import textio
|
2024-01-22 23:56:06 +00:00
|
|
|
%option no_sysinit
|
2024-03-01 18:45:16 +00:00
|
|
|
%zeropage basicsafe
|
2023-12-31 00:02:33 +00:00
|
|
|
|
2024-01-07 17:48:18 +00:00
|
|
|
main {
|
2024-02-10 02:07:49 +00:00
|
|
|
sub start() {
|
2024-03-01 21:43:31 +00:00
|
|
|
ubyte[] flakes = [1,2,3]
|
|
|
|
|
|
|
|
ubyte @shared idx = 2
|
|
|
|
|
|
|
|
if flakes[idx]==239 {
|
|
|
|
txt.print("yes")
|
|
|
|
} else {
|
|
|
|
txt.print("nope")
|
|
|
|
}
|
|
|
|
|
2024-03-01 18:45:16 +00:00
|
|
|
ubyte @shared xx = 16
|
|
|
|
ubyte @shared yy = 20
|
2024-02-21 22:10:04 +00:00
|
|
|
|
2024-03-01 18:45:16 +00:00
|
|
|
txt.print_ub(xx>79 or yy > 49)
|
2024-02-21 22:10:04 +00:00
|
|
|
|
2024-03-01 18:45:16 +00:00
|
|
|
; if xx>79 or yy > 49 {
|
|
|
|
; if xx>79 or yy > 49 {
|
|
|
|
; txt.print("no\n")
|
2024-02-21 22:10:04 +00:00
|
|
|
; }
|
2024-03-01 18:45:16 +00:00
|
|
|
; else {
|
|
|
|
; txt.print("yes\n")
|
2024-02-21 22:10:04 +00:00
|
|
|
; }
|
2024-03-01 18:45:16 +00:00
|
|
|
}
|
|
|
|
}
|