SQ Notes: Lotto Program (corrected)

See all articles from SMUG Bytes v6 n9
Author(s): R. A. Hilsmann
Publication: SMUG Bytes
Pub Details: SMUG Bytes v6 n9 (Volume 6, Issue 9)
Date: September 1989
Pages: 3-4

After I delivered last month pages to Bill Heberlein, and looked at the program again the next day, I noticed that I had copied an unfinished version of the LOTTO program for SMUG-BYTES. All I can say is oops! Sorry about that. The program will work, but has a few bugs in it.

For those of you who have entered the program, make the following changes to the lines:

All statements, variables etc. preceeded by an inversed marker need your attention. Compare the lines listed below with the lines you have entered previously, and correct any difference.

Lotto program corrections listing, part 1 (lines 1-315)
Lotto program corrections listing, part 1 (lines 1-315)
Lotto program corrections listing, part 2 (lines 350-5010)
Lotto program corrections listing, part 2 (lines 350-5010)
Lotto program corrections listing, part 3 (lines 5020-8000)
Lotto program corrections listing, part 3 (lines 5020-8000)

Wow! I didn’t think I had made that many changes, almost could have reprinted the whole program. well, let me add the basic portion yet, and that should do it.

Lotto program BASIC loader portion (lines 5-9040)
Lotto program BASIC loader portion (lines 5-9040)

Of course you can save yourself all the trouble of typing the program into the computer if you get down to the meeting! I will have a few tapes along with the program on it, or a few disks, but you would have to be an OLIGER fan, because I’m using a OLIGER disk interface.

For all of you who can not make it to the meeting, or if you are living outside of the south east Wisconsin Area, send me $5 and I will send you a copy. Make sure you are sending along the data for the type of LOTTO in your area (how many bets out of how many numbers etc.), this will let me set the program up for you. Also, since this program is public domain, as all the programs I have published here, feel free to copy it any old way, use it as fill in for your NEWS-LETTER, or whatever, I would appreciate it though if you give credit to the source.

Can you change this program yourself for the type of LOTTO used in your area? Yes you can, change variable “bets” to the number of bets that are on one sheet, change variable “number” to the numbers to pick from (54, 49 etc.). Variable “count” is the number of picks allowed from the numbers (6, 7 etc.). Most can be found on line 8000 or on line 410, there are also a bunch of Dim statements which would have to be changed. Looking at it, I have the feeling this program was written by a flaky programer. have fun anyways.