mirror of
https://github.com/irmen/prog8.git
synced 2024-11-23 07:32:10 +00:00
ee4da1a757
gives error message if it detects issues f.ex. with new kernal version that moves the routine
16 lines
317 B
Lua
16 lines
317 B
Lua
%import textio
|
|
%import floats
|
|
%zeropage basicsafe
|
|
|
|
main {
|
|
sub start() {
|
|
txt.print("enter number: ")
|
|
str buffer = "???????????????????????????"
|
|
void txt.input_chars(buffer)
|
|
float value = floats.parse_f(buffer)
|
|
txt.nl()
|
|
floats.print_f(value)
|
|
txt.nl()
|
|
}
|
|
}
|