mirror of
https://github.com/irmen/prog8.git
synced 2024-09-07 03:54:27 +00:00
20 lines
280 B
Lua
20 lines
280 B
Lua
%import c64utils
|
|
%import c64flt
|
|
%option enable_floats
|
|
%zeropage basicsafe
|
|
|
|
main {
|
|
|
|
struct Color {
|
|
uword red
|
|
uword green
|
|
uword blue
|
|
}
|
|
|
|
sub start() {
|
|
; Color c = [1,2,3] ; TODO fix compiler error
|
|
Color c = {1,2,3}
|
|
}
|
|
|
|
}
|