Jump to content

Read a specific line from a file: Difference between revisions

m
→‎{{header|Pascal}}: works with FreePascal added
(→‎{{header|Ada}}: - Added the Ada solution)
m (→‎{{header|Pascal}}: works with FreePascal added)
Line 441:
 
=={{header|Pascal}}==
{{works with|Free_Pascal}}
<lang pascal>
<lang pascal>Program FileTruncate;
 
uses
Line 479:
Close(myfile);
writeln(line);
end.</lang>
</lang>
Output:
<pre>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.