mirror of
https://github.com/irmen/prog8.git
synced 2024-08-19 14:29:17 +00:00
27 lines
207 B
Lua
27 lines
207 B
Lua
%import c64utils
|
|
|
|
~ main {
|
|
|
|
sub start() {
|
|
|
|
myblock2.foo()
|
|
myblock3.foo()
|
|
|
|
}
|
|
}
|
|
|
|
~ myblock2 {
|
|
|
|
sub foo() {
|
|
A=99
|
|
}
|
|
}
|
|
|
|
|
|
~ myblock3 {
|
|
|
|
sub foo() {
|
|
A=99
|
|
}
|
|
}
|