LottoGraph

Lotto Frequency Software for Microsoft Windows
Copyright 1993 by One Point Software

Note: If you are viewing this file in NotePad, then set WordWrap to checked for better reading.

Version 1.0 Features:

Enter and save Lotto winning numbers and date of lotto game
Automatically sort lotto game dates
Formats lotto numbers input for display convenience
Easy edit and delete of lotto numbers
Compare a lotto pick to winning numbers
Compare a lotto pick to all winning numbers
Graphs history of winning numbers by frequency of occurance
Highlights the last winning numbers in the history graph
Graphs frequency and displays percentages of frequency
Graphs frequency and displays frequency by value
Choose a range of limits based on frequency and number for random picks
Send randomly picked numbers to printer
Send graph to printer
Randomly pick up to 10 numbers based on ranges

You may register your public domain version of LottoGraph and receive the latest version by sending a check or money order for $35.00 (Outside the U.S. send $45.00) to:

One Point Software
4750 Bryant Irvin Rd.
Suite 808-181
Fort Worth, Tx 76132

Version 2.0 provides a file open dialogue box to track more than one lottery game.

What is Shareware ?

Shareware distribution gives you, the user, the opportunity to try software before buying it. If you enjoy the program and continue using it, you are expected to register it. When you register the program, you have the right to use it, and can recieve printed documentation and/or technical support if the Shareware author so desires to extend this to you.

Copyright laws apply to both Shareware and retail software, and the copyright holder retains all rights, with a few specific exceptions as stated below.

Shareware is fundamentally a distribution method. And, you should find excellent software for your money, in most cases. You can try before you buy. And, you don't pay for the software if you don't use it. Very often, the non-Shareware version of a program, if it exists, will have many advanced features that improve upon the Shareware release.

                           
LIMITED WARRANTY AND DISCLAIMER OF WARRANTY 
 
THIS SOFTWARE AND ACCOMPANYING WRITTEN MATERIALS (INCLUDING INSTRUCTIONS FOR USE) ARE PROVIDES "AS IS" WITHOUT WARRANTY OF ANY KIND. FURTHER, ONE POINT SOFTWARE DOES NOT WARRANT, GUARANTEE, OR MAKE ANY REPRESENTATIONS REGARDING THE USE, OR THE RESULTS OF USE, OF THE SOFTWARE OR WRITTEN MATERIALS IN TERMS OF CORRECTNESS, ACCURACY, RELIABILITY, CURRENTNESS, OR OTHERWISE. THE ENTIRE RISK AS TO THE RESULTS AND PERFORMANCE OF THE SOFTWARE IS ASSUMED BY YOU. IF THE SOFTWARE OR WRITTEN MATERIALS ARE DEFECTIVE YOU, AND NOT ONE POINT SOFTWARE OR ITS DEALERS, DISTRIBUTORS, AGENTS, OR EMPLOYEES, ASSUME THE ENTIRE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.
 
THE ABOVE IS THE ONLY WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, THAT IS MADE BY ONE POINT SOFTWARE, ON THIS ONE POINT SOFTWARE PRODUCT. NO ORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY ONE POINT SOFTWARE, ITS DEALERS, DISTRIBUTORS, AGENTS OR EMPLOYEES SHALL CREATE A WARRANTY OR IN ANY WAY INCREASE THE SCOPE OF THIS WARRANTY AND YOU MAY NOT RELY ON ANY SUCH INFORMATION OR ADVICE. YOU MAY HAVE OTHER RIGHTS WHICH VARY FROM STATE TO STATE.
 
NEITHER ONE POINT SOFTWARE NOR ANYONE ELSE WHO HAS BEEN INVOLVED IN THE CREATION, PRODUCTION OR DELIVERY OF THIS PRODUCT SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL OR INCIDENTAL DAMAGES (INCLUDING DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, AND THE LIKE) ARISING OUT OF THE USE OR INABILITY TO USE SUCH PRODUCT EVEN IF ONE POINT SOFTWARE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SPECIFICALLY, ONE POINT SOFTWARE IS NOT RESPONSIBLE FOR ANY COSTS INCLUDING BUT NOT LIMITED TO THOSE INCURRED AS A RESULT OF LOST PROFITS OR REVENUE, LOSS OF USE OF COMPUTER PROGRAM, LOSS OF DATA, COST OF RECOVERING SUCH PROGRAMS OR DATA, COST OF RECREATING LOST DATA, COST OF ANY SUBSTITUTE PROGRAM, CLAIMS BY THIRD PARTIES, OR OTHER COSTS.
 
GENERAL: THIS AGREEMENT SHALL BE TREATED AS THOUGH IT WERE ENTERED AND PERFORMED IN THE COUNTY OF TARRANT, STATE OF TEXAS. ANY ACTION RELATING TO THIS AGREEMENT SHALL BE INSTITUTED ONLY IN THE COURTS OF TARRANT COUNTY, TEXAS. LICENSEE SPECIFICALLY CONSENTS TO EXTRA-TERRITORIAL SERVICE OF PROCESS. THIS LICENSE WILL BE INTERPRETED IN ACCORDANCE WITH AND GOVERNED BY THE LAWS OF THE STATE OF TEXAS. 
 
ACKNOWLEDGEMENT
 
BY USING THE SHAREWARE VERSION OF LOTTOGRAPH YOU ACKNOWLEDGE THAT YOU HAVE READ THIS LIMITED WARRANTY, UNDERSTAND IT, AND AGREE TO BE BOUND BY ITS' TERMS AND CONDITIONS. YOU ALSO AGREE THAT THE LIMITED WARRANTY IS THE COMPLETE AND EXCLUSIVE STATEMENT OF AGREEMENT BETWEEN THE PARTIES AND SUPERSEDE ALL PROPOSALS OR PRIOR AGREEMENTS, ORAL OR WRITTEN, AND ANY OTHER COMMUNICATIONS BETWEEN THE PARTIES RELATING TO THE SUBJECT MATTER OF THE THE LIMITED WARRANTY. YOU ALSO AGREE THAT BY USING THE LOTTOGRAPH PROGRAM TO GENERATE RANDOM LOTTO PICKS, ONE POINT SOFTWARE DISCLAIMS ANY GUARANTEE THAT RANDOM PICKS WILL PRODUCE A WINNING LOTTERY NUMBER.


__________________

What is LottoGraph?

LottoGraph is a computer program for the Microsoft Windows operating system that allows you to store dates and numbers in a data base which you can use to display a graphical frequency of the history of the lottery that you play.  While we cannot guarantee that your chances of winning the lottery will increase or that by using the program you will pick the winning number, you can become more familiar with the history of lotto winning numbers.  We refer to every sequence of numbers picked in the lottery as "winning" because in almost every lottery drawing, someone wins something.

Many schemes and strategies have been designed to analyse games of chance and the lottery is no exception.  The strategy behind analysis of the frequency of numbers is that by knowing which numbers are the most frequently picked, you can chance that it will not be picked as often in the future as those numbers that have been less picked.	

However, you approach a lottery game with the knowledge that your chances of winning are one in several million.  At best, any scheme devised to pick lotto numbers presents you with a strategy of one among many.

We designed LottoGraph to help you narrow your choices down to a subset of numbers.  Those numbers are any within the range of maximum picks per game, and those within a range of frequencies.


Program installation

To install LottoGraph on your computer you must have Microsoft Windows version 3.1 or later.  LottoGraph does not have an installation program, so you will need to install it manually.

The following files are in the root directory of the distribution disk:

____________________________________

In the root directory:

op_lotto.exe	The Windows executable program
op_lotto.db	A database containing the Texas lottery history
op_lotto.cnf	A configuration file that holds program preferences
op_lotto.txt	The text you are now reading

In the system directory:

vbrun100.dll	Required run time DLL

_____________________________________

Make a backup copy of your distribution diskette.

Open the Windows File Manager and the Program Manager simultaneously. Use the File Manager to copy files from the backup diskette to your hard disk. 

First create a directory such as 'Lotto' under the root directory of your hard disk. Copy files from the root distribution disk to the sub directory you created on your hard disk. Next, copy vbrun100.dll into the Windows' SYSTEM directory.  Windows will need to look for this file in (for example) C:\WINDOWS\SYSTEM.

Next, manually install the program into the Program Manager. Do this by carefully positioning the File Manger and the Program Manager so that you can drag and drop the OP_LOTTO.EXE file name into the the Program Manager.  Once you have both windows positioned, click and hold down the mouse button on the OP_LOTTO.EXE file name in the File Manager. As you drag the mouse the cursor will change to another icon. Pull the icon to any of the Program Mangager windows, and release the mouse. Windows will install the lotto program.

Next, choose 'Properties' from the file menu and give the icon its proper name--LottoGraph. You are ready to run LottoGraph. Just click twice on the icon.

Setting up LottoGraph

If you are playing the Texas Lottery, we included the lotto history in the OP_LOTTO.DB file and the OP_LOTTO.CNF file is already set for the Texas game which includes numbers from 1 to 50 and a max pick of six. If you are playing in another state, just delete these files and start the program. LottoGraph will detect if the OP_LOTTO.CNF is available at run time, and will alert you if it is not. If you donot live in Texas, and will not be using the Texas Lotto database, then just leave the OP_LOTTO.CNF file out of your 'Lotto' sub directory. LottoGraph will create the file for you, but you must set up the necessary defaults for the lotto program.

The first thing you should do before starting to log dates and numbers is to set up the program so that it can operate properly.  You do this through the Options menu.  In this menu you define the maximum number of choices you can play in each game.  

In other words, the Texas lottery allows you to pick numbers from 1 to 50.  Therfore, you'll define the maximum value as 50.  The next important variable is the number of picks per game.  In Texas, you pick 6 numbers per game.  Some states may vary.

Entering dates and numbers

Develop a data base by entering the date of the drawing and the sequence of lottery picks for that date.  The numbers you save in the data base are those that are the winning numbers. Thus you develop the lotto history. Note that it is important to include any leading zeros in each lotto entry for each number pick as in the examples below. 

In addition to the important set up variables mentioned above, establish a sequence of characters that serves to space apart the numbers.  For example:

	01,__09,__22,__34,__45,__50
	
	11,  21,  32,  43,  48,  49
	
	12...14...22...30...39...48

The sequence of characters can be anything except a number, and you can change the seperation string at any time. However, once you save a number sequence it retains its separation string. You may change the separation string from month to month.

The strings above are:  ,__	a comma and two underscores
			,  	a comma and two spaces
			...	three dots

Others:			__	two underscores
			'''	three single quotes
			^^^	three carats
			~~~	three tildes

You must have from 1 to 3 separator characters.

The purpose of these strings are to present a graphical seperation between numbers you enter, and to help the program read the numbers you enter. With this Auto Input feature, the program will automatically add the seperation string after you enter two numbers.  Therefore, always include leading zeros for number 1 - 9, just like they appear on the lottery tickets. In addition, LottoGraph will fill in the separation string when you save the sequence of numbers to the database. You donot need to input these numbers. In fact LottoGraph includes an auto cursor advance feature that you can turn on and off when entering your lotto numbers.

Example of invalid entry:

	113233434648

Always input a leading zero in the same way that your lottery ticket shows.
	01,22,24,33,38,45


Entering numbers with Auto Input off:

You can turn off the Auto Input function in the options menu, and also in the defaults setup screen.  When inputing numbers with auto input off, be certain that each number is separated by a space, comma, period or otherwise a character.


Automatic sorting

LottoGraph will automatically sort your input.


Entering dates

You must enter the date of the drawing so that the program can maintain a chronological history. Use a standard date format such as:

	02-03-93	11/22/92

Your date entry will change to:

	03-Feb-93	22-Nov-92

If you enter something that the program cannot convert to a date, then the program will provide the date from the current date. Also, if you enter a date that is already in the lotto data base, then the program will alert you.  All entered dates must be unique.

Saving 

Save your input by selecting the Save button. The program will join the date and the input numbers together and display them in a list box.

	03-Feb-93   12,  14,  22,  34,  44,  49
	22-Nov-94   15,  22,  33,  44,  47,  50

In the above examples, the separation string is a comma and two spaces as defined in the setup options.

Editing a saved number

If you made a mistake and already saved the date and numbers, simply double-click the entry displayed in the list box. The program will break apart the date and number and display each in their repective input boxes. You then can edit the entries, and choose Save again. When the program processes any double-click on the list box, it assumes you are editing and turns off the automatic formatting until a new date is entered or the Save command is clicked. If in the event that you double-click and want to use the current date, turn on the automatic formatting in the Options menu.

Deleting an entry

Do the same for deleting as you would do for editing but donot save the date and number again. Whever you double-click an entry, that entry is pulled out of the list box and will not be re-entered until the save button is clicked.


Comparing numbers that you picked against the winning number

You can let the computer compare your lotto tickets in two ways. Compare your number against any single entry, such as the latest winning number. Or, compare it against all numbers in your history data base. You say, why compare against all winning numbers? Fair question. Have you ever thought that out of all number you've ever picked, have you ever picked the winning combination at any time. Could history repeat itself?

To compare numbers, enter your lotto pick numbers in the numbers entry box. Next, click one time on an entry in the list box. This will highlight the entry. Choose Check Lotto Number from the Options menu. The computer will compare your lotto numbers with the winning number and display any matching numbers, if any. To compare your lotto numbers against all winning numbers, highlight an entry anywhere in the list. Choose Check Against All from the Options menu. The computer will display any matching numbers that occur as the program makes comparisons from top to bottom.

Graphing the lotto history

You can graphically display the frequency of numbers chosen in the data base. If you have entered all the winning numbers into your data base, you will have a graph of the lotto history that you can study.

Again, studying the frequency of lotto picks is but one of many strategies you can use to study the lotto history. The program will draw two base line axes. The verticle axis is the frequency of a number from zero to the number of games in the history.  The horizontal axis represents the lotto number picks from 1 to the maximum number of picks per game, i.e 1 to 50.

If a lotto number has never been picked in all games, then the value of the frequency is zero, and the computer will not draw a verticle line to represent its frequency. If in the unlikely event that the number has been picked in EVERY lotto game, then the verticle line representing its frequency will be from zero to the number of games in the lotto history. 

In addition, the computer will plot tick marks on the verticle axis and draw a broken line horizontally from the tick mark to the maximum pick value. These divisions are also labeled with the value from zero to the increasing values up the scale. These are the frequency divisions. The program will not draw a division for every single tick value.  

If these divisions are not enough to tell you the actual frequency value, you may choose to draw the actual frequency value as an integer at the top of each verticle line that represents a number. Choose Values from the graph menu. A verticle line that ends on the 10th division will have the value of 10 printed above it.

If the actual values do not tell you the story, you can choose Percents from the graph menu and display the percentage value of the frequency. The percentage value is the ratio of picks to the number of games. In other words, if in 100 games the number 11 was drawn 10 times, then its percent chosen in 100 games is 10%.  And, the program will display this value above the verticle line on the 11th tick mark on the horizontal axis. If this is hard to visualize from words, use the sample data to draw the graph. Once you see it you'll understand.

Initiating random picks

You can let the computer pick random numbers for you.  To do so, you must initiate a random pick using some limits.  Do this by drawing a box with the mouse on the graph, or by manually entering limit values in a text dialogue box.  If you have not drawn a box with the mouse, then the program will present you with the manual dialogue box.

LottoGraph uses a random number generator that you can set to churn out lotto numbers.  The program allows you to set a range of numbers and frequencies from which to limit the random generator.  

For example, you may choose to produce numbers between 11 and 48 which have a frequency between 2 and 10 within the current history. You will effectively be chancing that numbers from 1 and 10 and 49 and 50 will not be chosen. And, you are chancing that frequencies between 0 and 1 and 11 and the most frequent number will not be chosen. 

However which way you chance it, you've set some limits by which the random generator will operate. If the generator first picks a number within the number range, then the program further checks this number to test if it is within the frequency range.  If it is not, the program picks another number.  If the number is within the pre-set ranges, then the number becomes one in a list of numbers from 1 to the number allowed per game, i.e. from 1 to 6.

Therefore, if you ask the computer to generate five numbers within your limits, you may get something like the numbers below for your output.

	11,  22,  26,  33,  39,  43
	14,  20,  27,  30,  32,  39
	20,  26,  34,  35,  37,  39
	13,  23,  27,  31,  35,  36
	11,  20,  23,  28,  31,  35


The numbers: 12, 15, 16, 17, 18, 19, 21, 24, 25, 29, and 38 were not picked because the number fell outside of the frequency range, or by nature of randomization, the numbers were never chosen.

Printing

You may print the numbers that the program generates. You'll need a printer that is supported and set up in Microsoft Windows. After the program churns out the random numbers, choose Print Picks from the menu on the graph window. Your numbers will be generated on a single page.

Should you desire a printout of the graph, you can do that by choosing Print Graph from the graph menu. The printed graph will not print frequency values or percent values in version 1.0 of LottoGraph.

Microsoft Windows is a trademark of Microsoft Corporation