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 >
Text File  |  1989-10-31  |  1KB  |  35 lines

  1. AUoH Door Prize Lotto!
  2.  
  3. Introduction:
  4.  
  5.     While watching the monthly door prize drawing during the August
  6. meeting I thought, "There has to be a better way".  Jim Piunti mentioned
  7. that someone should write a program to automate the process.  This is the
  8. first version of a just such a program.
  9.  
  10. Operating Instructions:
  11.  
  12.     To start the program from the CLI, just type 'Lotto'. The program
  13. will try to read the data file named 'Members.sbf'.  If the SuperBase data
  14. file is in another directory or has been changed, include the complete
  15. path and name on the command line.
  16.  
  17.     It will display '000' when it is ready for input.  Hit the space bar
  18. to start the randomizing process.  When you feel lucky, hit the space bar
  19. again.  The display will show the winner's number and scroll their name
  20. below.  Hit the space bar a third time to stop the scrolling and return to
  21. the initial state.  The program is now ready for you to pick another
  22. winner or exit by selecting the 'Quit' menu option or hitting the 'ESC'
  23. key.
  24.  
  25.     The program now writes the member's number and name to the CLI window
  26. that started it.  Is this what you had in mind Mark?
  27.  
  28.     It beeps too...
  29.  
  30.     That's about it.  I have included the Manx 'C' source code so you can
  31. examine and/or modify it to your hearts content.
  32.  
  33.  
  34. Michael Groshart, AUoH #84, 16 Sep 89.
  35.