Text file format or ‘plain format’
Breed:
You seem to be a lotto IQ guy. So do others.
First I thought you pretended “I can’t handle the truth!” film yell. In fact, you may be sincere.
‘Text’ format means a file with NO formatting at all. No font info, or page number added to the file in a ‘header’ section. The name ‘text file’ may be deceiving. A WinWord document is also a file containing text. I think the most accurate name would be ‘plain’ file. Or ‘plain character’ file. But that would send it back to complication again…
The word processors (like MS WinWord) complicate it because they ask for a ‘text’ file format, when they actually mean a plain-vanilla file, with no formatting. If you open Notepad and type anything: words, numbers, or a combination of both, you get a ‘text’ file. Save it. It has no formatting at all. It only contains whatever you typed and nothing else. You can do the same thing at the command (MS-DOS prompt) and type:
EDIT (and press the Enter key).
Type anything: words, numbers, or a combination of both, you get a ‘text’ file. Save it. It has no formatting at all. It only contains whatever you typed and nothing else.
That’s what they mean by ‘text file’.
My software uses data files in ‘text format’ only. The data files are simply rows of lottery numbers separated by commas or spaces. A blank space is the preferred delimiter, since it is international. Commas are different things to different persons. The Americans use commas as thousand separators; the Europeans use commas as decimal separators.
The files in text format are the simplest file format possible. Just type the draws as:
1 2 3 4 5 6
Nothing can be simpler or easier…
MARKOV.EXE uses input and output files in ‘text’ format. Again:
1 2 3 4 5 6
The output, however, may be unsorted:
3 5 4 2 6 1
I wrote software (free, of course) to check the lottery data files for correct formatting:
PARSEL.EXE.
I also wrote free software to sort the data files in ascending order:
SORTING.EXE.
I also wrote free software to check output ‘text’ files for winners:
WINNERS.EXE.
You can’t find any better software for the listed tasks, period. If you want to check how MARKOV.EXE performed in your lotto-6 game of choice, you can only use the software listed above. You can get it from the free FTP download site at:
www.saliu.com/infodown.html
By the way, I think C. Lopes can make his program a lot easier to use by adding the following steps:
1) Naturally, add the copyright info at the top of the starting screen;
2) Add a few lines describing what the program does and its basic requirements;
3) Add a simple box where the user is asked to type the ‘input’ file;
4) Add a simple box where the user is asked to type the ‘output’ file;
5) If the run was successful, add a final dialog, informing ‘Success! Run it again (Y/N?)’.
No more <, or >, or ‘NO Word’…
My collection of DOS batch file menu utilities can also be of much help (MENU.EXE). Don’t be afraid of DOS. It can be as easy as Windows, only better. Just think that a VB GUI utility adds automatically 1.5-2 MB to any application. If my WINNERS.EXE seems large at 270KB+, VB would make a GUI app of at least 2000KB!
Could I afford to offer such behemoths for free? No way!
Ion Saliu