EasyManua.ls Logo

Atari 400

Atari 400
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...
114 User's
Handbook
to
the Atari 400/ 800
Computers
END
An
END statement ends the
execution
of
the
program.
An
END
is
not
necessary at
the
end
of
a
program
because
executio
n stops
automatically
after
the last line
of
code
.
However,
it
is
good
programming
technique
to
end
BASIC
programs
with
an
END
statement.
CONFIGURA
TlON
END
When
an
END statement
is
executed, all I/ O channe
ls
will
be
closed except
0, the display
will
be set
to
graphi
cs
mode
0, and all
sound
will
be
turned
off.
EXAMPLE
10
INPUT X
20
IF
X<=
10
THEN END
30
PRINT "X
IS
LARGER
THAN
10"
40
GOTO
10
The previous
example
will
end
only
if
a value
of
X
is
entered
which
is
less
than
or
equal
to
10.
ENTER
ENTER
is
used
to
recover programs that have been saved
on
a
cassette
or
disk.
ENTER
can
only
be used
to
load programs that
were
saved
with
the
LIST
statement.
CONFIGURATION
ENTER
device[:
fi
lespec 1
When
an
ENTER
statement
is
executed,
the
computer's
memory
is
not
erased.
As
a result,
the
new
progr
am
being
loaded wi
ll
be
put
into
memory
together
with
any existing
program
lin
es.
For

Other manuals for Atari 400

Related product manuals