EasyManua.ls Logo

Commodore Plus 4 - Page 126

Commodore Plus 4
464 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...
114
The
Built-in
Software
Example:
CENTER
Tells
the
printer
to
print
the
current
line
centered
on
the page.
Type
the
CENTER
instruction
at
the
beginning
of
the
line
you
want
to
center,
then
type
the
text
right
next
to
the
CENTER
instruction.
Do
not
try
to
center
the
text
on
the
screen;
the
centering
is
done
when
the
document
is
printed.
center;
.
HISTORY
OF
COAL
MINING
Prints
the
title
centered
on
the
page.
EOF?
Lets
you
get
data
from
more
than
one
file
manager
record
in
a
continuous
print
operation.
EOF?
(End
Of
File?)
creates
a
conditional
loop
that
goes
through
a
file
to
get
field
data
from
a
series
of
records.
Then
the
document
is
reprinted
for
each
record.
Use
the
EOF?
instruction
when
you
want
to print
multiple
copies
of
the
document
with
data
from
a
sequential
group
of
records.
For
example,
you
would
use
EOF?
to
print
form
letters,
address
lists,
labels,
and
so
on.
The
EOF?
instruction,
which
must
be
embedded
at
the
end
of
the
document,
does
two
things:
1.
Checks
to
see
if
the
last
record
in
the
file
has
been
read.
2.
Forces
the
document
to
be
printed
again,
using
data
from
the
next
record,
when
more
records
remain
in
the
file.
When
the
last
record
has
been
read,
EOF?
ends
the
printing
operation.
The
EOF?
instruction
is
the
only
indication
in
a
document
that
more
than
one
copy
of
the
document
will
be
printed.
The
RC
instruction
can
be
used
to
start
at
a
record
other
than
the
first
record,
and
the
EOF?
instruction
forces
the
computer
to
the
next
record
after
the
document
is
printed.
FLD
Used
to
print
the
contents
of a
file
manager
field
anywhere
in
a
word
processor
document.
You
must
include
the
field
number
in
the
FLD
(FieLD)
instruction.
The
printer
gets
the
contents of
the
specified
field
from
the
current
record
in
the
current
file
manager
file.
Only
the
contents
of
the
field
are
printed.
If
you
want
to
print
the
field
name,
use
the
TTL
instruction.
If
the
specified
field
for
the
current
record
is
empty,
a
colon
is
printed
in
place
of
the
field
contents.

Other manuals for Commodore Plus 4

Related product manuals