mirror of
https://github.com/irmen/prog8.git
synced 2024-10-07 15:57:03 +00:00
26 lines
211 B
Lua
26 lines
211 B
Lua
%option enable_floats
|
|
|
|
|
|
|
|
~ main {
|
|
|
|
sub start() {
|
|
|
|
const float c1 = 11.11
|
|
const float c2 = 22.22
|
|
float v
|
|
float r
|
|
byte x
|
|
word w
|
|
|
|
r=flt(x)
|
|
w=wrd(x)
|
|
w=wrdhi(x)
|
|
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|