EasyManua.ls Logo

Commodore 128D - Programming Aids; Entering Programs; Auto; Renumber

Commodore 128D
427 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...
Programming
Aids
/
i
GETKEY
is
very
similar
to
GET,
except
GETKEY
will
automatically
wait
for
a
key
to
be
pressed.
In
earlier
sections,
you
learned
how
to
make
changes
in
your
pro
grams,
and
correct
typing
mistakes
with
INST/DEL.
BASIC
also
pro
vides
other
commands
and
functions
which
help
you
locate
actual
progam
errors,
and
commands
which
you
can
use
to
make
program
ming
sessions
flow
more
smoothly.
Entering
Programs
AUTO
RENUMBER
C128
BASIC
provides
an
auto-numbering
pro
cess.
You
determine
the
increment
for
the
line
numbers.
Let's
say
you
want
to
number
your
program
in
the
usual
manner,
by
tens.
Before
you
begin
to
program,
while
in
DIRECT
mode,
type:
The
computer
will
automatically
number
your
program
by
tens.
When
you
press
the
RETURN
key,
the
next
line
number
appears,
and
the
cur
sor
is
in
the
correct
place
for
you
to
type
the
next
statement.
You
can
choose
to
have
the
computer
number
the
commands
with
any
increment;
you
might
choose
5
or
even
50.
Just
place
the
number
after
the
word
AUTO
and
press
RETURN.
To
turn
off
the
auto-numbering
feature,
type
AUTO
with
no
increment,
and
press
RETURN.
If
you
write
a
program
and
later
add
statements
to
it,
sometimes
the
line
numbering
can
be
awk
ward.
Using
the
RENUMBER
command
you
can
change
the
line
numbers
to
an
even
increment
for
part
or
all
of
your
program.
The
RENUMBER
command
has
several
optional
parameters,
as
listed
below
in
brackets:
RENUMBER
[new
starting
line[,
increment[,old
starting
line]]]
USING
C128
MODE—Some
BASIC
Commands
and
Keyboard
Operations
Unique
to
81
C128Mode

Table of Contents

Other manuals for Commodore 128D

Related product manuals