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...
Advanced
Atari BASIC
89
In general, it
is
advisable to keep
prompt
messages
as
brief
as
possible--as long
as
the
message
is
clear
to
the user.
Avoid
prompt
messages
which
are overly
wordy
.
When
long
prompt
messages are being used,
it
is
a
good
practice
to place the
prompt
message
on
one
line, and the
input
response
on
the next line. For example, the
following
statement,
100
PRINT
"ENTER
OPERATION CODE
(1
=
ADD;
2 = DEL)"
200
INPUT X
would
result in
the
following
display:
ENTER
OPERATION CODE
(1
=
ADD;
2 =
DEL)
?
Input
Response Checks
A
well-designed
program
should check the user's response
to
an
Input
statement
to
be certain that
no
obvious
input
errors have
been made.
If
such
an
error
was
made,
the
program
should
detect
the
error
and
force
the user
to
re-enter
the data.
Examples
of
input
errors that can
occur
are
numeric
entries that
are
outside
of
the
allowed
range, string entries that are
longer
than
allowed
for
by
the
Input
statement's variable, and an
input

Other manuals for Atari 400

Related product manuals