Author Topic: Program and Source code for Lotto 649 Package written and compiled in qb64  (Read 19100 times)

0 Members and 1 Guest are viewing this topic.

Offline rcamp48

  • Newbie
  • Posts: 62
    • View Profile
Hi folks, My name is Russ |Campbell, I have a gem for you guys , it is the complete source code and programs, data files , etc. for a program that I wrote from the years 1990 to 2009 , I managed to find the zip file that I made in 2010 , called Lotto 649 Package 2009 complete with data up until I think Feb 2010, I have attached a zip file below:

I am going to convert it to qb64 tonight I will post my results in the same folder that I have linked to , hope you all enjoy it and  have good luck converting the basic program to your own lottery system , I do have a nice wheeling system , it would take a lot of work to convert it to anything but a 49 number system, Russ Campbell
* Lott2009.zip (Filesize: 128.74 KB, Downloads: 254)
« Last Edit: January 01, 2020, 02:10:08 am by rcamp48 »
Russ Campbell
rcamp48@rogers.com
BBS Files Programmer

Offline Pete

  • Forum Resident
  • Posts: 2361
  • Cuz I sez so, varmint!
    • View Profile
Re: Program and Source code for Lotto 649 Package written and compiled in qb45
« Reply #1 on: November 20, 2018, 11:46:48 pm »
Well the good news is you don't have to change a thing. Just open it in the QB64 IDE, and RUN (Ctrl + F5). It will make a stand alone exe and run your program. I tried it, and it works as is. Just remember to put all the .dat files in the same folder. Oh, the bad news, Justin Trudeau! Oh well. Welcome to the forum and if I get rich off your number picker, I'll cut you in for half.

Pete

Want to learn how to write code on cave walls? https://www.tapatalk.com/groups/qbasic/qbasic-f1/

Offline STxAxTIC

  • Library Staff
  • Forum Resident
  • Posts: 1091
  • he lives
    • View Profile
Re: Program and Source code for Lotto 649 Package written and compiled in qb45
« Reply #2 on: November 21, 2018, 12:15:21 am »
Speak of the devil and then he appears.

This is ARB. I know those space-comma-space patterns from anywhere.

Edit: Just joking... but I do keep staring at them...
« Last Edit: November 21, 2018, 12:18:00 am by STxAxTIC »
You're not done when it works, you're done when it's right.

Offline rcamp48

  • Newbie
  • Posts: 62
    • View Profile
Re: Program and Source code for Lotto 649 Package written and compiled in qb45
« Reply #3 on: November 21, 2018, 12:19:53 am »
Here is the official QB64 version, same thing , a bit updated and released into the public domain, the serial number part can be used by anyone I had to change a few things to allow running the chain files , the lotto.bas and grmode.bas and the setreg.bas programs were all saved in binary qb45 mode. I may update all of the winning numbers in the next few days ................ Russ
Russ Campbell
rcamp48@rogers.com
BBS Files Programmer

Offline rcamp48

  • Newbie
  • Posts: 62
    • View Profile
Re: Program and Source code for Lotto 649 Package written and compiled in qb64
« Reply #4 on: November 22, 2018, 01:44:05 pm »
New version as of November 22 2018 at 1:33 PM, winning numbers have been fully updated, most features are now working except for the bar-graphs in ASCII , VGA and HDMI modes, same link, just a new file , be sure to download the newest version, and if you win big send me a postcard from the Caribbean Islands eh?  I will post full docs but they are built into my program.... all menu driven if anyone wants to know, and the new source code has been release into the public domain. Russ
* Lotto 649 2018 - 11-22-2018.zip (Filesize: 8.32 MB, Downloads: 244)
« Last Edit: January 01, 2020, 02:11:00 am by rcamp48 »
Russ Campbell
rcamp48@rogers.com
BBS Files Programmer

Offline rcamp48

  • Newbie
  • Posts: 62
    • View Profile
Re: Program and Source code for Lotto 649 Package written and compiled in qb64
« Reply #5 on: November 23, 2018, 01:35:25 pm »
Lotto 649 Package 2019 is almost ready , everything but the bargraphs both asci and color work OK now, I will be working this afternoon on a Canadian Daily Keno and Lotto max version of my program. A menu will allow you to run any or the 3 programs , with updated data for all 3 , it will probablly take me a week to finish all 3 , when done I will release ececutables and source code for all 3 programs. If anyone eles wants to include their lotteries in this program, send me the details , ie: how many numbers drawn, total amount of numbers drawn from, and whether or not there is a bonus number. Since I understand what I have written, me doing it would probably be the easiest, as always everything will be totally free, my time , etc, my computer tiime as well.

Russ Campbell
« Last Edit: January 01, 2020, 02:11:23 am by rcamp48 »
Russ Campbell
rcamp48@rogers.com
BBS Files Programmer

Offline Baco23

  • Newbie
  • Posts: 1
    • View Profile
Re: Program and Source code for Lotto 649 Package written and compiled in qb45
« Reply #6 on: December 31, 2019, 11:43:30 pm »
Hi Rus, how are you?

Offline rcamp48

  • Newbie
  • Posts: 62
    • View Profile
I am good, just completed my Lotto 649 Package RC4 , a few hours ago, too many features to mention, but the biggest is automatic draw date updating , it is good for 40 years, I have put in the code that will make sure that the proper day and date is displayed for the next draw, the program is up to date as of December 28 2019, as far as I know everything works as designed.

This program will tell you everything you wanted to know about the Canadian Lotto 649 Lottery, I have 20 years of draw data, I think you need a few gigs to run it, if not just delete some of the draw data from years 2000 to 2010, (its in the numbers2.dat file).

Happy New Year to everyone here on QB64.ORG, the registration on the program is set for QB64.ORG, a little shot in the arm for QB64.ORG , that comes right up on the main title page. I will include m program that puts it there in the first place later on.

Hope you all like my program, it will show you just what you can do with a basic program, over 30 years went into the making of this program, from 1990 when I started it in QB45, till now, off and on I have been updating it.

Russ

* SETREG.BAS (Filesize: 2.17 KB, Downloads: 179)
« Last Edit: January 01, 2020, 02:10:40 am by rcamp48 »
Russ Campbell
rcamp48@rogers.com
BBS Files Programmer