mirror of
https://github.com/irmen/prog8.git
synced 2024-09-10 09:54:32 +00:00
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()
|
|
}
|
|
}
|