Tandy 1000 MS-DOS Reference Manual page 235

Hide thumbs Also See for 1000 MS-DOS:
Table of Contents

Advertisement

, ,
;--.
Chapter 10 / EDLIN Command Reference
Insert
(I)
[line]
I
Inserts lines of text immediately before the specified line. Also,
when you create a new file, you must enter the I command to
begin writing text.
Text begins with Line 1. Successive line numbers appear auto-
matically each time you press
I
ENTER
I.
EDLIN remains in the Insert mode until you type
I
CTRL
I
en
The
line immediately following the insertion becomes the current line
and EDLIN automatically increments all line numbers that fol-
low the insertion as necessary.
Notes
If you use a period (.) to specify the line-or if you omit
the line parameter-EDLIN uses the current line.
If you use a pound sign
(#)
to specify the line, or if the line
you specify is any number larger than the number of the
last line-EDLIN appends the lines to the end of the file.
In this case, the last line inserted becomes the current
line.
Examples
,---.,
Assume that the following file exists and is ready to be edited:
;
1: This is a sample file
2: to show what happens
3: when using the Insert command
4: in your files
To insert text before a specific line that is not the current line,
type the line number and
I,
then press
I
ENTER
I.
For example, type
3 I
I
ENTER
1
.....-.,
i
The result is:
3:*_
Now, type the new text for Line 3:
3: to the line numbers
219

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents