EasyManua.ls Logo

Commodore PC 40 - Page 297

Commodore PC 40
494 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Move
Purpose:
Moves a range
of
text
to
the
specified line.
Syntax:
[line), +
line,/inem
Comments:
The
M
(move)
command
lets you move a block
of
text
to
another
location in a file. The first
and
second
line
options
specify
the
range
of
lines that you
want
to
move.
The
third
line
option
speciĀ·
fies
the
line you
want
to
move
the
first line in
the
range to.
Edlin automatically
renumbers
the lines after it moves them. For
example,
the
following
command
moves
the
text
from
the
current
line-plus
25
lines-to
line 100:
,+25,100m
If
the
line numbers
that
you specify overlap, edlin displays an
"Entry
error"
message.
Example:
Suppose
the
following file exists and is ready
to
edit.
1:
Dear
Mr.
Dimm,
2:
3:
I
was
sorry
to
hear
of
your
recent
4:
hospitalization
due
to
electrical
5:
shock
from
our
X-1000
Automatic
6:
Pencil
Sharpener.
7 :
8:
As a
result
of
your
accident,
we
9:
are
redesigning
our
manual
to
10:
warn
our
customers
against
trying
11:
to
sharpen
metal
objects.
12:
13:
Sincerely,
14:
15:
I.R.
Sharpe,
President
16:
Sharpe
Office
Supplies
17:
The
World
Leader
in
Office
Sharpeware
18:
Our
motto:
"You
oughta
be
Sharpe
too"
Edlin Commands 159
{M)ove

Table of Contents

Related product manuals