2021-05-30 13:30:34 +00:00
|
|
|
%import textio
|
2021-09-12 17:09:50 +00:00
|
|
|
%import floats
|
2021-06-02 23:42:11 +00:00
|
|
|
%zeropage dontuse
|
2021-05-29 13:25:17 +00:00
|
|
|
|
2021-06-01 20:21:50 +00:00
|
|
|
main {
|
2021-06-12 13:48:04 +00:00
|
|
|
|
2021-06-12 15:31:09 +00:00
|
|
|
label:
|
|
|
|
sub start() {
|
2021-09-12 17:09:50 +00:00
|
|
|
|
|
|
|
ubyte[6] ubs = 10 to 20 step 2
|
|
|
|
ubyte[] ubs2 = 10 to 20 step 2
|
|
|
|
float[6] fs = 10 to 20 step 2
|
|
|
|
float[] fs2 = 10 to 20 step 2
|
|
|
|
|
|
|
|
txt.print_ub(len(ubs))
|
2021-06-12 15:31:09 +00:00
|
|
|
txt.nl()
|
2021-09-12 17:09:50 +00:00
|
|
|
txt.print_ub(len(ubs2))
|
2021-06-12 15:31:09 +00:00
|
|
|
txt.nl()
|
2021-09-12 17:09:50 +00:00
|
|
|
txt.print_ub(len(fs))
|
2021-06-12 15:31:09 +00:00
|
|
|
txt.nl()
|
2021-09-12 17:09:50 +00:00
|
|
|
txt.print_ub(len(fs2))
|
2021-06-12 15:31:09 +00:00
|
|
|
txt.nl()
|
|
|
|
|
2021-09-12 17:09:50 +00:00
|
|
|
ubyte ix
|
|
|
|
for ix in 0 to 5 {
|
|
|
|
txt.print_ub(ubs2[ix])
|
|
|
|
txt.spc()
|
|
|
|
}
|
2021-06-12 15:31:09 +00:00
|
|
|
txt.nl()
|
2021-09-12 17:09:50 +00:00
|
|
|
for ix in 0 to 5 {
|
|
|
|
floats.print_f(fs2[ix])
|
|
|
|
txt.spc()
|
|
|
|
}
|
2021-06-12 15:31:09 +00:00
|
|
|
txt.nl()
|
2021-09-12 17:09:50 +00:00
|
|
|
|
2021-05-15 22:14:57 +00:00
|
|
|
}
|
2021-05-12 22:35:22 +00:00
|
|
|
}
|