mirror of
https://github.com/irmen/prog8.git
synced 2024-09-10 09:54:32 +00:00
18 lines
313 B
Lua
18 lines
313 B
Lua
%import textio
|
|
%zeropage basicsafe
|
|
|
|
main {
|
|
sub start() {
|
|
ubyte x = 10
|
|
ubyte y = 2
|
|
txt.print_ub(5<x and x<=20)
|
|
txt.nl()
|
|
txt.print_ub(5<x and x<=9)
|
|
txt.nl()
|
|
txt.print_ub(5<x<=9)
|
|
txt.nl()
|
|
txt.print_ub(5<(x-y)<=9<y)
|
|
txt.nl()
|
|
}
|
|
}
|