2024-03-12 22:39:54 +00:00
|
|
|
%import textio
|
|
|
|
%zeropage basicsafe
|
|
|
|
%option no_sysinit
|
2023-12-31 00:02:33 +00:00
|
|
|
|
2024-01-07 17:48:18 +00:00
|
|
|
main {
|
2024-03-13 19:23:42 +00:00
|
|
|
bool @shared var1, var2
|
|
|
|
bool[2] barray = [false, true]
|
|
|
|
ubyte success
|
|
|
|
|
2024-03-02 13:26:02 +00:00
|
|
|
sub start() {
|
2024-03-13 19:23:42 +00:00
|
|
|
no_else()
|
|
|
|
}
|
2024-03-12 22:27:15 +00:00
|
|
|
|
2024-03-13 19:23:42 +00:00
|
|
|
sub no_else() {
|
|
|
|
txt.print("bool no_else: ")
|
|
|
|
success=0
|
2024-03-12 22:27:15 +00:00
|
|
|
|
2024-03-13 19:23:42 +00:00
|
|
|
var1=true
|
|
|
|
var2=false
|
|
|
|
|
|
|
|
if var1!=var2
|
2024-03-12 22:39:54 +00:00
|
|
|
txt.print("yes")
|
2024-03-13 19:23:42 +00:00
|
|
|
|
2024-03-01 18:45:16 +00:00
|
|
|
}
|
|
|
|
}
|