EasyManua.ls Logo

Commodore PC 20 - Page 366

Commodore PC 20
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...
228 MS-DOS User's Reference
(N)ame
Name
Purpose:
Sets filenames.
Syntax:
Nfilename [filename
...
]
Comments:
The
N
(name)
command
performs
two
functions. First, it assigns
a filename for a
later
L
(load)
or
W
(write)
command.
So,
if
you
start
debug
without
naming a file
to
be
debugged,
you
must type
the
command
Nfilename before a file
can
be
loaded. Second,
the
N
command
assigns filename
parameters
to
the
file
being
debugged.
In
this case, N accepts a list
of
parameters
used
by
the
file being debugged.
Note that these
two
functions overlap. ConSider,
for
example,
the
following
set
of
debug
commands:
-NFILE1.EXE
-L
-G
The
N
command
would
use
these
commands
to
perform
the
fol-
lowing steps:
m It
would
first assign
the
filenamefile1.exe
to
the
file
to
be
used in any later L
or
W commands.
III
It
would
also assign
thefile1.exe
filename
to
the
first filename
parameter
used
by
any
program
that
is later debugged.
rn
The
L
command
would
then
loadfile1.exe
into
memory.
m The G
(go)
command
would
causefile1.exe
to
be
run
with
file1.exe as
the
single filename
parameter
(that
is,filel.exe
would
be
run
as
if
file
1.
exe
had
been
typed
at
the
command
level).
A
more
useful chain
of
commands
might look like this:
-NF
I LE1
EXE
-L
-NFILE2.DAT
FILE3.DAT
-G

Table of Contents

Related product manuals