EasyManuals Logo

Atari XL User Manual

Atari XL
262 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 #206 background imageLoading...
Page #206 background image
194
The
Atari
XL
Handbook
Closing
Files
After
use,
a file
must
be closed,
with
the
command
CLOSE
IC
where
C
is
the
channel
number.
The
following
short
program
shows
the
use
of
OPEN,
PRINT#,
INPUT#
and
5 DIM
A$(40)
10
OPENll,
8,
0,
"C:"
20
PRINTll,
"THIS
IS
A TEST
FILE"
30
CLOSEll
40 STOP
100
OPENll,
4,
0,
"C:"
110
INPUT#l,
A$
120
CLOSE#l
130
PRINT A$
Put
a
blank
tape
into
the
tape
unit
and
wind
it
forwards
past
the
transparent
leader
tape.
RUN
the
program,
and
the
TV
speaker
will
sound
twice
as
happens
when
saving
programs.
Start
the
tape,
and
the
file
will
be
created
and
the
data
stored.
The
program
will
stop
with
the
message
AT
LINE
40".
Rewind
the
tape
and
type
GOTO 100.
The
TV
speaker
sounds
once.
When
you
set
the
tape
going
the
data
file
will
be
opened
and
read,
and
the
data
printed
on
the
screen.
This
technique
may
be
used
to
store
any
amount
of
data
onto
tape.
Commas
and
semi-colons
may
be
used
with
PRINT#
as
with
PRINT.
Without
punctuation,

Questions and Answers:

Question and Answer IconNeed help?

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

Atari XL Specifications

General IconGeneral
Release Year1983
CPUMOS Technology 6502C
GraphicsANTIC, GTIA
SoundPOKEY (4 channels)
StorageCassette tape
PortsCartridge
Operating SystemAtari BASIC
CPU Speed1.79 MHz
RAM64 KB

Related product manuals