1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-12-26 12:29:26 +00:00
millfork/examples/c64/echo.mfk
2018-01-20 22:10:04 +01:00

12 lines
254 B
Plaintext

import c64_basic
import stdio
void main() {
while true {
readline()
// empty line is read as a single space
if readline_out[0] == 32 && readline_out[1] == 0 { return }
putstrz(readline_out)
putchar(13)
}
}