mirror of
https://github.com/irmen/prog8.git
synced 2024-07-19 04:28:56 +00:00
23 lines
312 B
Lua
23 lines
312 B
Lua
%import c64utils
|
|
%zeropage basicsafe
|
|
%import c64flt
|
|
|
|
|
|
~ main {
|
|
|
|
sub start() {
|
|
ubyte u1 = 100
|
|
ubyte u2 = 30
|
|
byte bb = -30
|
|
byte bb2 = -30
|
|
float ff = -3.3
|
|
word ww
|
|
|
|
bb = (u2 as word) as byte
|
|
bb = (((u2 as word) as byte) as word) as byte
|
|
|
|
|
|
}
|
|
|
|
}
|