mirror of
https://github.com/irmen/prog8.git
synced 2024-11-01 15:07:10 +00:00
743c8b44a2
because it doesn't contain scoped variables (these are moved to the subroutine's scope)
17 lines
308 B
Lua
17 lines
308 B
Lua
|
|
main {
|
|
sub start() {
|
|
ubyte col
|
|
ubyte row
|
|
repeat {
|
|
col = rnd() % 33
|
|
row = rnd() % 33
|
|
;cx16logo.logo_at(col, row)
|
|
;txt.plot(col-3, row+7 )
|
|
;txt.print("commander x16")
|
|
col++
|
|
row++
|
|
}
|
|
}
|
|
}
|