home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Game Killer
/
Game_Killer.bin
/
015.M18.DOC
< prev
next >
Wrap
Text File
|
1988-02-19
|
2KB
|
45 lines
M18.exe
by Ken Hopkins (WA9WCP)
written March, 1987
Mean 18 by Accolade is a truly great golf program! The only
shortcoming I've found is that the algorithm allows a maximum
display of 3 available golf courses. If you have more than
three courses, you need to rename those that you're not
interested in to some extension other than ".M18" so that
the program can't find them. Then just those 3 courses you're
interested in will be displayed.
M18.exe will allow you to have as many courses as you wish on
your hard drive. The courses should be in the same directory
as the Golf program and associated .DAT files as well as M18.
When you run M18 it will do a directory function (files)
similar to the DOS command "DIR". The program will specifically
search for all files ending in ".M18". It will rename these
files to ".M10" so that they are invisible to the Golf game.
M18 then presents you with a menu of choices of those golf
courses available to play. You choose the course you want by
number and M18 renames that course only to the ".M18"
extension making it visible to Golf. The program then calls
the Golf game where you will find only one course to choose
from, the one you've just chosen in M18.
Of course, when you run M18, that same course will once again
be renamed to the ".M10" extension, once more making it
"invisible" until you choose to play it again.
M18 is written in Microsoft Qbasic 2.0 and I have included
the source code for anyone that wants to compile it, modify
it, etc. The M18.exe file included with this ARC file has
been compiled with the BCOM.LIB file so that it is a stand-
alone version and does not require the run-time module of
quick basic.
Modified and debugged 2/14/88 by Terry Doerhoefer Atlanta, GA
I have corrected a bug that caused failure if program encountered a file
with .M18 extension on first run, it would work on the second try.
I corrected the course selection routine that only allowed a one digit entry.
(you could not select a course above "9")
Modified to display courses in three columns and allow up to 45 courses.