mirror of
https://github.com/irmen/prog8.git
synced 2024-11-04 19:05:57 +00:00
28 lines
436 B
Plaintext
28 lines
436 B
Plaintext
|
output prg,basic
|
||
|
|
||
|
import "c64lib"
|
||
|
import "mathlib"
|
||
|
|
||
|
|
||
|
~ main {
|
||
|
|
||
|
; zpvar myvar @todo allow for zp vars like this
|
||
|
var bytevar
|
||
|
var bytevar2
|
||
|
var .word wordvar
|
||
|
var .float fl1
|
||
|
var .float fl2
|
||
|
|
||
|
|
||
|
start
|
||
|
; XY() ; @todo better syntax error, need [XY]
|
||
|
[AX]()
|
||
|
[AY]()
|
||
|
[XY]()
|
||
|
[AX]!()
|
||
|
[AY]!()
|
||
|
[XY]!()
|
||
|
|
||
|
return
|
||
|
}
|