EasyManua.ls Logo

Atari 800

Atari 800
326 pages
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...
Introduction to Atari
BASIC
63
would
result in the display shown
below:
John
Bill Peter
Atari
BASIC divides the spacing on a
line
into
a series
of
print
zones.
Each
print
zone
contains
10
spaces.
When
a
comma
appears in a PRINT statement, the
computer
is
instructed
to
begin
printing
the next parameter in the PRINT statement at
the
beginning
of
the next
print
zone. In
our
example
above,
John
would
begin
in
column
1
(print
zone 1); Bill in
column
11
(print
zone
2)
; and Peter in
column
21
(print
zone
3).
A semicolon can
also be used to separate the items
in
a PRINT
statement. A semicolon causes the next
item
in
the
PRINT
statement
to
be displayed
immediately
after
the
preceding
item.
Unlike
the
us
e
of
the commas in a PRINT statement,
when
semicolons are used
to
separate items,
no
blank
spaces appear
between
the
items
when
they
are displayed.
When
a PRINT statement
has
finished
execution,
the
cursor
moves
to
the
l
eft
margin
of
the
following
line. This
is
known
as
a
carriage
return/line
feed.
If
a com
ma
or
sem
icolon
occu
rs
at the end
of
a
PR
I NT statement,
the carriage
return
/ line feed
will
be suppressed.
If
a
comma
is
placed at
the
end
of
the
PRINT statement,
the
next PRINT
statement
will
begin
output
at
the next
print
zone
after
the
last
item
is
displayed.
If
a
semicolon
is
placed at
the
end
of
the
PRINT
statement,
the
next
PRI
NT
statement
will
begin
output
immediately
following
the
last
item
displayed.
In this section, we
have
only
discussed sending
output
to
the
video display.
Output
can al
so
be sent
to
the
printer.
This
is
accomplished by using
the
LPRINT statement in place
of
PRINT.
The LPRINT statement
is
used exactly
as
the
PRINT statement in
Atari
BASIC.
However
,
the
LPRINT statement does
have
some variatIons
when
it
is
us
ed
with
the
Atari
825
Printer. These variations
occur
when
a
comma
or
semicolon
is
used
to
end
the
PRI
NT statement.
If
an
LPRINT statement
is
used
to
print
more
than
40
characters,

Other manuals for Atari 800

Related product manuals