mirror of
https://github.com/irmen/prog8.git
synced 2024-09-10 09:54:32 +00:00
19 lines
244 B
Lua
19 lines
244 B
Lua
%import textio
|
|
%zeropage basicsafe
|
|
|
|
main
|
|
{
|
|
; 00f9
|
|
sub start()
|
|
{
|
|
word bb
|
|
|
|
when bb {
|
|
0,1,22 -> bb+=10
|
|
33,44,55 -> bb+=20
|
|
42345 -> bb+=99
|
|
else -> bb+=30
|
|
}
|
|
}
|
|
}
|