mirror of
https://github.com/irmen/prog8.git
synced 2024-12-25 23:29:55 +00:00
30 lines
295 B
Lua
30 lines
295 B
Lua
%import textio
|
|
%option no_sysinit
|
|
%zeropage basicsafe
|
|
|
|
main {
|
|
|
|
sub start() {
|
|
block1.sub1()
|
|
block1.sub2()
|
|
}
|
|
}
|
|
|
|
block1 {
|
|
%option merge
|
|
|
|
sub sub1() {
|
|
txt.print("sub1")
|
|
}
|
|
}
|
|
|
|
|
|
block1 {
|
|
%option merge
|
|
|
|
sub sub2() {
|
|
txt.print("sub2")
|
|
}
|
|
}
|
|
|