home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
200-299
/
ff262.lzh
/
Lotto
/
lotto.doc
< prev
next >
Wrap
Text File
|
1989-10-31
|
1KB
|
35 lines
AUoH Door Prize Lotto!
Introduction:
While watching the monthly door prize drawing during the August
meeting I thought, "There has to be a better way". Jim Piunti mentioned
that someone should write a program to automate the process. This is the
first version of a just such a program.
Operating Instructions:
To start the program from the CLI, just type 'Lotto'. The program
will try to read the data file named 'Members.sbf'. If the SuperBase data
file is in another directory or has been changed, include the complete
path and name on the command line.
It will display '000' when it is ready for input. Hit the space bar
to start the randomizing process. When you feel lucky, hit the space bar
again. The display will show the winner's number and scroll their name
below. Hit the space bar a third time to stop the scrolling and return to
the initial state. The program is now ready for you to pick another
winner or exit by selecting the 'Quit' menu option or hitting the 'ESC'
key.
The program now writes the member's number and name to the CLI window
that started it. Is this what you had in mind Mark?
It beeps too...
That's about it. I have included the Manx 'C' source code so you can
examine and/or modify it to your hearts content.
Michael Groshart, AUoH #84, 16 Sep 89.