Hello.
The program reads the file and prints the contents on the screen.
program aaa; var f: text; s: string; i: integer; begin assign(f, '1.txt'); reset(f); while not eof(f) do begin readln(f, s, i); writeln(s, ' ', i); end; end.
But when you try to run PascalABC.NET, it says:
Ошибка времени исполнения: Входная строка имела неверный формат.
What could be the error? Input file content:
mynamw 334 myeemw 334 mynrrramw 334