90
Print Zones
In
general, each PRINT statement causes a new display or print line
to
be started,
and each line
is
divided into
print
zones-either full print zones or packed print zones,
or combinations of both.
Full Print Zones have
18
character positions and are specified by the comma delimiter.
For example,
the
statement:
200 PRINT A,B,C
would cause
the
value
of
variable A
to
be
displayed beginning
in
the
first position of
the
line, the value
of
B beginning
in
position 19, and the value
of
C beginning
in
position 37.
Packed Print Zones are variable
in
length and usually produce a more dense line of
output
than full print zones. The semicolon and null delimiters are used
to
specify packed
print zones. The length
of
packedĀ· print zones for various types of data
is
explained
under
Spacing
of
Printed
or
Displayed
Values.
Spacing
of
Printed
or
Displayed Values
The converted value
of
each expression
is
printed or displayed
in
its own print zone.
Full Print Zones (Comma Delimiter): For arithmetic expressions,
the
converted data
items require one full print zone of
18
character positions. For character data,
the
print
or
display area
is
the
smallest number
of
full print zones (smallest multiple
of
18) large enough
to
accommodate
the
data.
Since most printed
or
displayed values are shorter than
18
characters, a line
of
full
print zones usually produces columns of widely spaced
output.
'.
./
"'-..
...