EasyManuals Logo

Atari 800 User Manual

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
Page #204 background imageLoading...
Page #204 background image
202
User's
Handbook
to
the
Atari 400/ 800
Computers
As
with
PRINT#,
the
chan
nel specified
must
be
open
for
output.
The value
given
in
numeric
expression
is
output
to
the
data file.
The value
output
will
lie
between
0 and
255.
If
the
value
is
not
an
integer
, it
will
be
rounded
to
the
nearest
integer.
If
the
value
specified
does
not
lie
between
0 and 255,
it
will
be
output
modulo
256.
In
other
words,
256would
be
sentas
0,
257as
1,258
as
2,
259
as
3, etc.
An
example
of
a PUT
statement
is
given
below.
150 OPEN
#2,8,0,
"c:"
160 PUT #2,123
170 CLOSE
#2
Reading from Data
Files
The INPUT#
and
GET
statements are used
to
read data
from
cassette data files. INPUT#
will
accept data
from
the
cassette data
file,
interpret
that
data, and assign
the
data
to
the
variable
or
variables names in its
parameter
li
st.
The
following
configuration
is
used
with
INPUT#:
INPUT
#channe
l {
~}
variable, .
..
The
channel
must
have
been
opened
previously
for
input.
The
variables will
accept
the
data values
input.
INPUT#
will
retrieve
data
from
the
input
device
specified. This
data
will
consi
st
of
ASCII characters
followed
by
the
ASCII
end-
of-line
character. The
EOL
character
will
end
input
to
the
variable
specified.
INPUT#
will
interpret
the
data
being
read
as
e
ither
numeric
or
string--depending
on
the
type
of
variables used
as
parameters.
When
a
numeric
variable is specified,
the
data
being
input
will
be
interpr
eted
as
numeric
data.
The data read via
INPUT#
will
be
assigned
to
the
numeric
variable
indicated
until
a
comma
or
an EOL character
is

Other manuals for Atari 800

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Atari 800 and is the answer not in the manual?

Atari 800 Specifications

General IconGeneral
ProcessorMOS Technology 6502
Processor Speed1.79 MHz
ROM10 KB
GraphicsANTIC and GTIA chips
Release Year1979
Display Resolutionup to 320 x 192
Colors128 colors
Sound4 channels
StorageCartridge, cassette, floppy disk
PortsCartridge, serial, monitor
Operating SystemAtari OS

Related product manuals