home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 15
/
015.d81
/
t.lk.higher-lowe
< prev
next >
Wrap
Text File
|
2022-08-26
|
1KB
|
68 lines
HIGHER-LOWER
============
by: Joel Ellis Rea
This program is this month's COMAL
Corner program. It is written in Ker-
nal-standard COMAL, so can ENTER into
any version of COMAL with the ENTER
command. Thus the LK. prefix (LIST
file, Kernal-standard).
The program itself implements the
popular Higher-Lower parlor game. The
computer chooses the random number (0-
999), and informs you after each guess
(if you are wrong) whether your next
guess should be Higher or Lower.
This program cannot be RUN from
here. You must have either COMAL 0.14
on disk or COMAL 2.01 on cartridge.
Or, if you have the ability, you can
transfer the file to another computer
equiped with Kernal-compatible COMAL.
From COMAL, type:
ENTER "LK.HIGHER-LOWER"
and hit RETURN. Then RUN the program.
The main purpose of this program is
to show the advantages of structure.
Even though there are few comments, it
should not be hard to figure out how
it works, for it is well-structured.
FILES: LK.HIGHER-LOWER
========= End of Description =========