mirror of
https://github.com/irmen/prog8.git
synced 2025-01-12 19:29:50 +00:00
23 lines
419 B
Lua
23 lines
419 B
Lua
%import floats
|
|
%import textio
|
|
%zeropage basicsafe
|
|
|
|
main {
|
|
sub start() {
|
|
cbm.SETTIM(0,0,0)
|
|
float xx = 1.234
|
|
floats.print(xx)
|
|
txt.nl()
|
|
xx= floats.time()
|
|
floats.print(xx)
|
|
txt.nl()
|
|
floats.print(floats.time())
|
|
txt.nl()
|
|
|
|
txt.print("waiting 333 jiffies... ")
|
|
sys.wait(333)
|
|
floats.print(floats.time())
|
|
txt.nl()
|
|
}
|
|
}
|