2023-05-16 22:40:47 +00:00
|
|
|
%import floats
|
2023-05-16 21:10:33 +00:00
|
|
|
%import textio
|
2023-04-29 15:14:50 +00:00
|
|
|
%zeropage basicsafe
|
2023-05-28 21:19:01 +00:00
|
|
|
%option no_sysinit
|
2023-04-10 14:59:08 +00:00
|
|
|
|
2022-10-22 11:33:35 +00:00
|
|
|
main {
|
2023-05-07 21:49:02 +00:00
|
|
|
|
2023-05-07 23:03:54 +00:00
|
|
|
sub start() {
|
2023-05-30 17:08:34 +00:00
|
|
|
uword[] split_uwords = [12345, 60000, 4096]
|
|
|
|
word[] split_words = [12345, -6000, 4096]
|
|
|
|
float[] floats = [1.1,2.2,3.3]
|
|
|
|
reverse(split_uwords)
|
|
|
|
reverse(split_words)
|
|
|
|
reverse(floats)
|
2023-05-26 20:56:12 +00:00
|
|
|
uword ww
|
2023-05-30 17:08:34 +00:00
|
|
|
for ww in split_uwords {
|
2023-05-26 20:56:12 +00:00
|
|
|
txt.print_uw(ww)
|
|
|
|
txt.spc()
|
|
|
|
}
|
|
|
|
txt.nl()
|
2023-05-30 17:08:34 +00:00
|
|
|
word sw
|
|
|
|
for sw in split_words {
|
|
|
|
txt.print_w(sw)
|
2023-05-22 18:31:28 +00:00
|
|
|
txt.spc()
|
|
|
|
}
|
2023-05-26 20:56:12 +00:00
|
|
|
txt.nl()
|
2023-05-30 17:08:34 +00:00
|
|
|
ubyte ix
|
|
|
|
for ix in 0 to len(floats)-1 {
|
|
|
|
floats.print_f(floats[ix])
|
|
|
|
txt.spc()
|
|
|
|
}
|
2023-03-18 23:24:05 +00:00
|
|
|
}
|
2022-12-04 15:02:58 +00:00
|
|
|
}
|
2023-04-29 15:14:50 +00:00
|
|
|
|