30 lines
469 B
Plaintext
Raw Normal View History

%option enable_floats
2018-08-16 23:10:28 +02:00
2018-09-16 00:59:12 +02:00
~ main {
2018-09-02 18:32:48 +02:00
2018-09-16 00:59:12 +02:00
sub start() -> () {
2018-09-12 00:51:48 +02:00
byte i
float yy
word pixely
word yoffset
word height
; @todo expression must not result in float but in word
yy = flt(height+1.1)
pixely = height / 100
;yy = height- 1.1
;yy = height*1.1
;yy = height/3.6
;yy = height//3.6
;yy = height**3.6
;yy = height%3.6
;yy = height/3.6+0.4
;yy = 2/height/3.6+0.4
;yy = (pixely-yoffset)/height/3.6+0.4
}
}