Download Print this page

Motorola EXORdisk II User Manual page 74

Advertisement

CHAPTER 5
5.
BLOKEDIT COMMAND
The
BLOKEDIT
command
allows lines of text
~~om
one
o~
more
ASC!!
files to be selectively copied into
a
new
~ile.
This
command
can be useful in
gene~ating
new
p~og~am
sou~ce
riles
by
copying routines
~rom
existing
sou~ce
riles,
or
in
rearranging
existing files
by
copying their lines into a
ne~
se.quence.
5. 1
Use
The BLOKEDIT
command
is
invoked
with
the
following
command line:
BLOKEDIT
<name 1>, (name 2>
Both
of the parameters
a~e
~equired
by
the BLOKEDIT command.
<name
1>
is the file specification
or
a
command
file,
and
<name
2/
is the rile specification
or
a
ne~
file which will
be created.
The new rile
UJill be
written into 'as directed
by
commands in the command file.
Both
file
specirications
are
giv~n
the
de~ault
suffix
"SAil
and the derault logical unit number zero.
<name
1:>
must
be
the name of a file that exists in the directorq.
<name 2>
must not
al~eady
exist.
A
standard
error
message
will
be
displayed
if
either
Or
these
criteria
is not met,
o~
ir
enamel> is
Or
the wrong file Format.
5.2
BLOKEDIT Command File
The
command
file
speciried
b~
<name
1>
is
the
controlling
facto~
in the execution of the BLOKEDIT command.
The command file contains the names of the source Files
that
are to be used for the extraction
Or
data,
the
numbe~s
of the
lines within
a
particular source file that are to
be
copied
into
<name
2/1
comments, and original text supplied bV the
user that is also to be copied into <name
2>.
The
command
rile
must
be
created
with
the EDIT
command~
or
a
sim.ilar
command, prior
to
using the BLOKEDIT command.
There
a~e
three kinds of lines that can
appear
in
the
command file:
1.
Comment
1
ines
2.
Command lines
3.
Guoted lines
Page
05-01

Advertisement

loading

This manual is also suitable for:

Exordisk iii