mirror of
https://github.com/irmen/prog8.git
synced 2024-09-10 09:54:32 +00:00
20 lines
372 B
Lua
20 lines
372 B
Lua
%import c64utils
|
|
%zeropage basicsafe
|
|
|
|
~ main {
|
|
|
|
sub start() {
|
|
str naam = " "
|
|
|
|
while true {
|
|
c64scr.print("naam: ")
|
|
ubyte length = c64scr.input_chars(naam)
|
|
c64scr.print_ub(length)
|
|
c64.CHROUT(':')
|
|
c64scr.print(naam)
|
|
c64.CHROUT('\n')
|
|
}
|
|
}
|
|
|
|
}
|