mirror of
https://github.com/irmen/prog8.git
synced 2024-10-25 15:25:46 +00:00
40 lines
520 B
Lua
40 lines
520 B
Lua
main
|
|
{
|
|
sub start()
|
|
{
|
|
ubyte variable=55
|
|
when variable
|
|
{
|
|
33 -> cx16.r0++
|
|
else -> cx16.r1++
|
|
}
|
|
|
|
if variable {
|
|
cx16.r0++
|
|
} else {
|
|
cx16.r1++
|
|
}
|
|
|
|
if variable { cx16.r0++ }
|
|
else { cx16.r1++ }
|
|
|
|
if variable
|
|
{
|
|
cx16.r0++
|
|
}
|
|
else
|
|
{
|
|
cx16.r1++
|
|
}
|
|
|
|
other.othersub()
|
|
}
|
|
}
|
|
|
|
|
|
other {
|
|
sub othersub() {
|
|
cx16.r0++
|
|
}
|
|
}
|