RosettaCodeData/Task/Input-loop/Mathematica/input-loop.mathematica
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07:00

3 lines
88 B
Mathematica

stream = OpenRead["file.txt"];
While[a != EndOfFile, Read[stream, Word]];
Close[stream]