mirror of
https://github.com/irmen/prog8.git
synced 2024-11-23 07:32:10 +00:00
21 lines
344 B
Lua
21 lines
344 B
Lua
%import textio
|
|
|
|
main {
|
|
ubyte begin = 10
|
|
ubyte end = 20
|
|
|
|
sub start() {
|
|
ubyte xx
|
|
for xx in begin to end step 3 {
|
|
txt.print_ub(xx)
|
|
txt.spc()
|
|
}
|
|
txt.nl()
|
|
for xx in end to begin step -3 {
|
|
txt.print_ub(xx)
|
|
txt.spc()
|
|
}
|
|
txt.nl()
|
|
}
|
|
}
|