EasyManuals Logo
Home>Atari>Desktop>800

Atari 800 Basic Reference Manual

Atari 800
122 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 #33 background imageLoading...
Page #33 background image
DOS
(DO.)
ENTER(E.)
INPUT
(I.)
Format:
Example:
DOS
DOS
The
DOS
command
is
used
to
go
from
BASIC
to
the
Disk
Operating
System
(DOS).
If
the
Disk
Operating
System
has
not
been
booted
into
memory,
the
com-
puter
will
go
into
Memo
Pad
mode
and
the
user
must
press
IMMM';!i@!ll
to
return
to
Direct
mode.
If
the
Disk
Operating
System
has
been
booted,
the
DOS
Menu
is
displayed.
To
clear
the
DOS
Menu
from
the
screen,
press
*'itii#&l;li!Mi.
Control
then
passes
to
BASIC.
Control
can
also
be
returned
to
BASIC
by
selecting
B
(Run
Cartridge)
on
the
DOS
Menu.
The
DOS
command
is
usually
used
in
Direct
mode;
however,
it
may
be
used
in
a
program.
For
more
details
on
this,
see
the
Atari
DOS
Manual.
Format:
ENTER filespec
Examples:
ENTER
"C
ENTER "D:DEMOPR.INS"
This
statement
causes a
cassette
tape
to
play
back
a
program
originally
recorded
using
LIST (see
Section
2,
LIST).
The
program
is
entered
in
unprocessed
(un-
tokenized)
form,
and
is
interpreted
as
the
data
is
received.
When
the
loading
is
complete,
it
may
be
run
in
the
normal
way.
The
ENTER
command
may
also
be
used
with
the
disk
drive.
Note
that
both
LOAD
and
CLOAD (see Section 2)
clear
the
old
program
from
memory
before
loading
the
new
one
. ENTER
merges
the
old
and
new
programs.
This
ENTER
statement
is
usually
used
in
Direct
mode.
Format:
INPUT [
#aexp
{ ; } ] {
~~;~
}
[,
{
~~~~
}
..
. ]
Examples:
100 INPUT X
100 INPUT N$
100 PRINT "ENTER THE VALUE
Of
X"
110 INPUT X
This
statement
requests
keyboard
data
from
the
user.
In
execution,
the
com-
puter
displays
a?
prompt
when
the
program
encounters
an
INPUT
statement.
It
is
usually
preceded
by
a PRINT
statement
thCJ.t
prompts
the
user
as
to
the
type
of
information
being
requested.
String
variables
are
allowed
only
if
they
are
not
subscripted.
Matrix
variables
are
not
allowed.
The
#aexp
is
optional
and
is
used
to
specify
the
file
or
device
number
from
which
the
data
is
to
be
input
(see
Input
/
Output
Devices).
If
no
#aexp
is
specified,
then
input
is
from
the
screen
editor
(E:).
If
several
strings
are
to
be
input
from
the
screen
editor,
type
one
string,
press
liiii!Jml,
type
the
next
string,
l;i§iii;lll , etc.
Arithmetic
numbers
can
be
typed
on
the
same
line
separated
by
c
ommas.
10
PRWT
11
Et-iTER
5
NUt"18EPS
TO
BE
SUt·1t·1ED
11
20
FOR
t·~=
1
TO
5
30
I
t
·
~PUT
::-::
40
C=C+>::
50
NE>::T
t·~
60
PR
r
HT
II
THE
:
::ut
·1
oF
'/OUP
Nut·1E:ER:::
If
:
II
; c
70
um
Figure
5-1
Input
Program
Listing
I/0
Comm
a
nds
and
De
vices
25

Table of Contents

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
BrandAtari
Model800
CategoryDesktop
LanguageEnglish

Related product manuals