RosettaCodeData/Task/Input-loop/Aime/input-loop.aime
2023-07-01 13:44:08 -04:00

9 lines
122 B
Text

void
read_stream(file f)
{
text s;
while (f_line(f, s) != -1) {
# the read line available as -s-
}
}