mirror of
https://github.com/irmen/prog8.git
synced 2025-01-10 20:30:23 +00:00
20 lines
378 B
Lua
20 lines
378 B
Lua
%import textio
|
|
%option no_sysinit
|
|
%zeropage basicsafe
|
|
|
|
|
|
main {
|
|
sub start() {
|
|
word @shared ww = 1234
|
|
|
|
txt.print_ub(if ww==0 111 else 222)
|
|
txt.spc()
|
|
txt.print_ub(if ww!=0 111 else 222)
|
|
txt.spc()
|
|
txt.print_ub(if ww==1000 111 else 222)
|
|
txt.spc()
|
|
txt.print_ub(if ww!=1000 111 else 222)
|
|
txt.nl()
|
|
}
|
|
}
|