2018-10-02 21:10:27 +00:00
|
|
|
%option enable_floats
|
2018-08-16 21:10:28 +00:00
|
|
|
|
2018-10-02 22:25:04 +00:00
|
|
|
|
|
|
|
|
2018-09-15 22:59:12 +00:00
|
|
|
~ main {
|
2018-10-01 18:05:32 +00:00
|
|
|
|
2018-10-01 20:23:16 +00:00
|
|
|
sub start() {
|
2018-10-05 22:10:30 +00:00
|
|
|
byte x
|
|
|
|
|
2018-10-06 15:21:34 +00:00
|
|
|
for x in 0 to 20 {
|
|
|
|
float xx = sin(flt(x))
|
|
|
|
float yy = cos(flt(x))
|
|
|
|
}
|
|
|
|
|
|
|
|
while(1) {
|
|
|
|
float xx = sin(flt(x))
|
|
|
|
float yy = cos(flt(x))
|
|
|
|
}
|
|
|
|
|
|
|
|
repeat {
|
|
|
|
float xx = sin(flt(x))
|
|
|
|
float yy = cos(flt(x))
|
|
|
|
} until(1)
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-10-05 22:10:30 +00:00
|
|
|
|
|
|
|
|
2018-10-06 15:21:34 +00:00
|
|
|
; for x in 0 to 30 {
|
|
|
|
; float xx = 2123.33
|
|
|
|
; float yy = 2444.55
|
|
|
|
; xx = sin(flt(x))
|
|
|
|
; yy = cos(flt(x))
|
|
|
|
; r = xx*yy
|
|
|
|
; }
|
|
|
|
;
|
|
|
|
; for x in 0 to 40 {
|
|
|
|
; float xx = 3123.33
|
|
|
|
; float yy = 3444.55
|
|
|
|
; xx = sin(flt(x))
|
|
|
|
; yy = cos(flt(x))
|
|
|
|
; r = xx*yy
|
|
|
|
; }
|
2018-09-30 18:58:47 +00:00
|
|
|
return
|
2018-09-30 18:19:25 +00:00
|
|
|
|
2018-09-27 21:58:14 +00:00
|
|
|
}
|
2018-10-04 18:47:52 +00:00
|
|
|
|
2018-08-12 21:09:59 +00:00
|
|
|
}
|