EasyManua.ls Logo

Texas Instruments TI-99/4A - Page 175

Texas Instruments TI-99/4A
204 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...
Secret
Number
These
statements
offer you the choice of playing
again
or
stopping
thp
pfop;r;:Jm If
yo
11
f'ntf'f
;:JnY'
rh;:Jr;:Jrtpr othl-',r Ih:Jn Y,
thf'
proV":Im
ends.
If
you wish to play again.
the
counter for the
number
of
gue.c;ses
is
set
to zero.
and
you
are
asked
if you
want
to set a new
limit
If
you
cnter
Y,
the
prograI11
transfers
back
to
line
14Cl
Tf
yon
enter
any
other
character.
the
program
transfers
to
line
160
to
generate
a
new
secret
number.
Here
is a
sample
of the
program
run. (Of
course.
your secret
numbers
will be different from the one shown here.)
User's
Reference
Guide
Examples:
>320
PRINT
"WANT
TO
PLAY
AGAI
N'?"
>330
INPUT
"ENTER
y
OR
N:
II:A
$
>340
IF
A$<>"Y"
THEN
390
>350
N=O
>360
PRINT
"WANT
TO
SET
A
NEW
LIMIT?"
>370
INPUT
"ENTER
Y
OR
N:
11:8
$
>380
IF
B$="Y"
THEN
140
ELSE
1
<'>0
>390
END
>RUN
--screen
cLears
ENTER
LIMIT?
20
--screen
cLears
LOW,HIGH
GUESSES:
1,10
SECRET
NUMBER
IS
BETWEEN
yOUR
TWO
NUMBERS
LOW,HIGH
GUESSES:
1,5
SECRET
NUMBER
IS
LARGER
THAN
yOUR
TWO
NUMBERS
LOW,HIGH
GUESSES:
7,7
yOU
GUESSED
THE
SECRET
NUMBER
IN
3 TRIES
WANT
TO
PLAY
AGAIN?
ENTER
Y
OR
N:
N
**
DONE
**
1I1-19

Other manuals for Texas Instruments TI-99/4A

Related product manuals