EasyManua.ls Logo

Commodore Plus 4 - Page 157

Commodore Plus 4
234 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...
Line
20
prints
this:
CBM
CAT
before
printing
leaves
three
spaces
"CBM"
as
defined
in
format
list
CHARACTER
Pound
Sign
(#)
Plus(
+
)
Minus
(-)
Decimal
Point
(.}
Comma
(,)
Dollar
Sign
($)
NUMERIC
X
X
X
X
X
X
X
STRING
X
X
X
Equal
Sign
(=)
Greater
Than
Sign
(>)
The
pound
sign
(#)
reserves
room
for
a
single
character
in
the
ouiput
field.
If
the
data
item
contains
more
characters
than
you
have
#
in
your
format
field,
the
following
occurs:
For
a
numeric
item,
the
entire
field
is
filled
with
asterisks
(").
No
numbers
are
printed.
For
example:
10
PRINT
USING
"####" X
For
these
values
for
X,
this
format
displays:
A-12.34
12
A
=
567.89
568
A-
123456
••••
For
a
STRING
item,
the
string
data
is
truncated
at
the
bounds
of
the
field.
Only
as
many
characters
are
printed
as
there
are
pound
signs
(#)
in
the
format
item.
Truncation
occurs
on
the
right.
The
plus
(
+
)and
minus
(-)
signs
can be
used
in
either
the
first
or
last
position
of
a
format
field
but
not
both.
The
plus
sign
is
printed
if
the
number
is
positive.
The
minus
sign
is
printed
if
the
number
is
negative,