May I choose which line to read (readln) in a text file?
If yes, then what is the command?
If no, is there any way better than the following?
VAR i, which_line: integer;
write('Line to read:'); readln(which_line);
assign(text_file, 'C: ext_file.txt');
FOR i:=1 TO which_line DO readln(text_file, line);
0 · ·