Read a specific line from a file: Difference between revisions

m
m (→‎{{header|PL/M}}: more notes)
Line 1,405:
 
=={{header|PL/M}}==
This is written for the original 8080 PL/M compiler and can be run under CP/M (version 2 or more) or an emulator or clone.
<br>The name of the file to read and the line number to read should be specified on the command line. E.g., if the source is in a file called READLINE.PLM and has been compiled to READLINE.COM, then the command <code>READLINE READLINE.PLM 7</code> would display the 7th line of the source.
<lang pli>100H: /* READ A SPECIFIC LINE FROM A FILE */
3,026

edits