mirror of
https://github.com/irmen/prog8.git
synced 2024-11-23 07:32:10 +00:00
25 lines
388 B
Lua
25 lines
388 B
Lua
%import textio
|
|
%import math
|
|
%zeropage basicsafe
|
|
|
|
main {
|
|
sub start() {
|
|
ubyte x,y,z = math.rnd()
|
|
|
|
txt.print_ub(x)
|
|
txt.nl()
|
|
txt.print_ub(y)
|
|
txt.nl()
|
|
txt.print_ub(z)
|
|
txt.nl()
|
|
|
|
x=y=z=math.rnd()
|
|
txt.print_ub(x)
|
|
txt.nl()
|
|
txt.print_ub(y)
|
|
txt.nl()
|
|
txt.print_ub(z)
|
|
txt.nl()
|
|
}
|
|
}
|