1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-11-06 22:05:01 +00:00
millfork/examples/c64/echo.mfk

12 lines
254 B
Plaintext
Raw Normal View History

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)
}
}