mirror of
https://github.com/irmen/prog8.git
synced 2024-11-26 11:49:22 +00:00
24 lines
430 B
Lua
24 lines
430 B
Lua
%import textio
|
|
%option no_sysinit
|
|
%zeropage basicsafe
|
|
|
|
main {
|
|
|
|
bool[] barray = [true, false, true, false]
|
|
bool value1
|
|
bool value2 = barray[cx16.r0L]
|
|
bool value3 = true
|
|
bool value4 = false
|
|
|
|
sub start() {
|
|
txt.print_bool(value1)
|
|
txt.spc()
|
|
txt.print_bool(value2)
|
|
txt.spc()
|
|
txt.print_bool(value3)
|
|
txt.nl()
|
|
txt.print_bool(value4)
|
|
txt.nl()
|
|
}
|
|
}
|