mirror of
https://github.com/irmen/prog8.git
synced 2024-08-21 12:29:02 +00:00
26 lines
246 B
Lua
26 lines
246 B
Lua
|
|
%import mathlib
|
|
%import c64lib
|
|
%import c64utils
|
|
|
|
~ main {
|
|
|
|
sub start() {
|
|
|
|
ubyte derp
|
|
|
|
|
|
derp=foo()
|
|
derp=c64.GETADR()
|
|
return
|
|
}
|
|
|
|
|
|
sub foo() -> ubyte {
|
|
return 1 ; @todo not ubyte but byte (if sub returns byte)
|
|
}
|
|
|
|
|
|
|
|
}
|