Lotto finally came to Wisconsin! Better late than never! This of course calls for a program to pick the numbers for you, and do some of the other chores related to the number game for you. Would you believe it? I had written such a program some years ago when Lotto came to Illinois. Of course I wrote it to be functional at the time, and not for beauty. Well I sat down the other week and cleaned and polished it for you, besides, I added some other routines to it which will let you do some crazy things if you wish to do so.
But before I get to talk about this program in detail, let me give you a short history of the game. The first time I heard of Lotto, was around 1950, when the City of Berlin (Germany) came up with what was then called “Berliner Zahlen Lotto”, which translated into english means “Berlin Number Lotto”. It was designed to aid in paying for the Berlin Air-bridge at the time, but was kept active after the fact to pay for other things as well.
Lotto as the Germans call it, was one of the Games available for the enjoyment of the populace, the other was called “Fussball Totto” or “Football Totto”. Lotto had at first a hard time competing with “Totto”, but is now ahead in sales over all other games in Germany.
The game at that time was played using 7 picks out of 45 numbers, but today it is 6 picks out of 49. The major difference is the way the payout is handled over there, if the game does not have a winner with 6 correct picks, and since the game is parimutuel, the percentage of the payout allocated for 6 correct numbers is distributed to the percentage allocated for 5 and 4 correct picks, which amounts to an average payout of 50,000 to 200,000 for the 5 match, and 1,000 to 8,000 for the 4 matched numbers category if this happens. Of course Lotto is played at the national level in Germany, which with a population of 60 million makes for a larger pot available at each drawing. All moneys are paid out in full (none of this 20 year $#^t, which not even pays interest on the money you win, a real bonanza for the state, as anyone with an IQ of 90 can figure out), and since the state has already taken off 45% of all moneys as its cut for administrating and taxes, all payouts are taxfree (the state can not tax you twice on the same money, or can they??!! another rip-off??). Well, I guess I could go on, but let me talk about the program itself now (before my eye glases get all steamed up).
The program is written in basic, but if you have a compiler, you should compile all, or a portion of it. Type the program in, and run it. The Main Menu will come up as you do so, let me explain each option on the menu now.
1) Quick Pick; will pick 6 numbers 6 times at random, enough to fill one Lotto America sheet for $3.
2) Mixed Pick; this will allow you to add one or more numbers to each six picks. The numbers you add will show on all single bets of six picks each, while the remaining numbers for each bet will be picked at random by the computer.
3) System Pick; will allow you to either pick 12 numbers yourself or let the computer pick them for you. The computer will now pick a bet (six numbers) at random from only those twelfe numbers.
4) Winning Numbers; this will display another menu:
1) enter winning numbers; will let you enter a list or a single entry of drawn winning numbers for further reference.
2) most winning numbers; will display the most winning numbers out of the list provided.
3) view all winning numbers; will display a list of all winning numbers entered.
4) exit to main menu
5) Odds Demo: if you press 5) on the main menu, a prompt will appear asking you if you would like to bend the odds. If you answer yes, you will then be able to enter one or more numbers which then will appear in each and every pick your computer will generate against the numbers you enter next. This will simulate the effect of using option 2) Mixed Pick. If you’r honest, you should on the last prompt elect the ramdom numbers generated by the computer by pressing zero (0), this would of course simulate totally what would happen if you would add fixed numbers for each pick since you dont know what numbers would come up in the real world drawing (neither will you know which numbers the computer will pick).
Now, lets continue with the next prompt which will ask you to turn the printer on if you would like a hardcopy of all matched numbers. You also will have the option to have all picks with three correct numbers printed out.
While running option 5) you will have an option to speed up or delay the pause (after each six picks). Holding down keys one (1) to cap Z (last letter in alphabet) will have the effect of having a PAUSE 5 when pressing one (1), incremented by five (5) for each letter in succesion as to the value in ASCII (pressing two, for instance, will set the pause to ten (PAUSE 10)).
Pressing the Spacebar will let you exit, and in addition, display on the screen the number of times each number from 1 to 54 had been selected by the computer for all picks.
6) Enter & View Picks; will let you enter your bets if you elected to pick them yourself, this is necessary if you like to check your winnings using this program.
7) Check Winnings; will let you enter the drawn winning numbers (which are automatically added to the winning number list (option 4)), and then check the winning numbers against your picks.
8) Save & Load Data; allows you to save or load the winning number list, and also the list holding your last picks.
Since this program is written in basic, I strongly recommend to compile it. There are a lot of calculations to be made, and this takes time. The program, as you see it, is set up for TimeMachine, the portion beginning with line 9000 should be left in basic.
The program also features tripple randomizing of the numbers generated, just plain RND*number will generate numbers in a pattern repeating the same sequence over and over.
Quick Pick, Mixed Pick & System Pick numbers generated by the computer are automatically put into the pick list, the old numbers will be lost, unless they were saved to disk. The list will hold 60 bets, while the winning number list will hold 2,496 entries (6 numbers each).
How good is the program? Well since any number is as good as any other when it comes to Lotto, numbers totally generated at random are the best. You may twist and bend the numbers as you like, if your number is not drawn, you wont win. The amount of bets you make does not increase your chances by much, the chance to have 6 correct numbers is 1 to 12,913,583, if you make 6 bets at $3 for a whole sheet, your odds are down to 1 to 12,913,577, because those are the number of bets you would still have to make to win. So don’t blow your money, believe me it does not make much of a difference when you talk about betting $30, $40 or perhaps hundreds of $$, If your number comes in that’s luck, nothing else, no matter how you try. If you don’t believe me try the Odds Demo, that is why I added it to the program.
Have fun! I’v won already $43 using this program, and I know I was lucky, ’till next month… R.A.H.



The above lines 9000 to 9050 are to be loaded as a basic program, which will function as a loader for your compiled program portion. You may add a few lines, if you so desire, to permit you to enter a title for the Data saved, right now I have left it to save the winning number data as “winning##”, and the pick list as “bets”. Data is saved as code, so make sure to look at the location for d$(), and b$() when you get the listing towards the end after the runtime routines are listed when you have compiled the program. If they are different then the ones in line 9020, make an appropriate change.
Also make sure the starting location on line 9000, and line 9010 is the same, you will be able to check this while the program is compiling. Line 9 will give you the start address, while line 570 will show the re-entry point, which is to be entered on line 9040 in the above basic portion of the program.
If you for some reason do not have a way to compile the program, and have to run it in basic, change line 1520, and line 1530 to read:
1520 LET g(x)=x
1530 NEXT x: LET s=1: RETURN
To save space I used a toolkit program to compress the lines in the program. If it should be to cumbersome for you to type in long lines, such as line 7000, into the computer, split the line, adding half lines, such as 7005. Do not change the present line sequence, since GO TO, and GO SUB routines may call such lines.
R.A.H.
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.