It is currently 09 Dec 2019, 00:26

The Lottery Forum - Lottery Generators
• Featuring Members' Works (Image Attachments) •
1: member
2: member
3: member
4: member
5: member

The lottery forum section of gimplearn.net will be here for historical purposes, as we have
created a brand new stand-alone forum at https://gimplearn.net/thelotteryforum/.
Please try to register and post there instead

TLF Topics: Active | Unanswered | Random
TLF Posts: Unread | New | Random
Lottery Forum
     Lottery/General Program Requests | Lottery Generators |🡆 Lottery CodeSkulptor Programs
     General Programs
     Chit Chat
Social:  Say Hello | Anything Goes | Shares

FLAST7 CS Program

Lottery Programs coded in CodeSkulptor
Forum rules
This forum is now locked.
Please visit The Lottery Forum (New)
Locked
tim
GL Blogger

FLAST7 CS Program

Post#1 by tim » 14 Apr 2019, 21:12


This is FLAST7 Filtering CS Program.
This is FLAST7 Filtering CS Program v2 (include due pairs can appear in any order of digits).
This is FLAST7 Filtering CS Program v3 (Only enter one list of numbers and list of due pairs, any numbers that doesn't contain due pairs will be removed).
It allows you to enter a list of numbers to be removed, a second list of numbers to remove numbers from and a list of exceptions (due pairs) so that if the numbers in list 2 contains due pairs they won't be removed even if they appear in list 1.

This was requested by Rakster in FLAST7 Program Request.
aka Tin
:tree_02:
Tin's: Favorite Index | Simple Art === fb4yt video search | fb4yt recent video views report
Lottery numbers from image | Interested Members in TLF
Paying for hosting is to support my hobby, and donating money made from ads to The Red Cross.
         
0

No avatar
Rakster
Forum Member

Post#2 by Rakster » 14 Apr 2019, 21:24


Sorry, i must have confused things a bit, When I enter the same data in step one and step two and then pairs in step three, it creates 4 numbers... what I would like to see is the following...
Here are the numbers to enter for example...

038, 039, 098, 138, 139, 198, 238, 239, 298, 338, 339, 398, 438, 439, 498, 538, 539, 598, 638, 639, 698, 738, 739, 798, 803, 809, 813, 819, 823, 829, 830, 831, 832, 833, 834, 835, 836, 837, 838, 839, 843, 849, 853, 859, 863, 869, 873, 879, 883, 889, 890, 891, 892, 893, 894, 895, 896, 897, 898, 899, 903, 913, 923, 930, 931, 932, 933, 934, 935, 936, 937, 938, 939, 943, 953, 963, 973, 983, 993, 998

Here are the due pairs I want to filter so I only keep the sets from above that contain a due pair and combination of two due pairs not just the combinations of 2 due pairs...

Due Pairs...

26 59 58 12 34 55 18 24 47 48 04 77 78 08

If I kept only those numbers with the due pairs in them, I would have the following sets of numbers...

038, 098, 138, 198, 438, 439, 498, 539, 598, 738, 798, 803, 809, 813, 819, 830, 831, 834, 837, 843, 849, 859, 873, 879, 890, 891, 894, 895, 897, 934, 935, 943, 953,

Can you see how I would like a program like yours to operate? I did this all manually, but if you can get something to do it with a couple clicks, that would be awesome.
Thanks again for all your hard work.
GIMP Learn rocks...
0

tim
GL Blogger

Post#3 by tim » 14 Apr 2019, 22:07


look like you want the due pairs appear in any order.
Then you missed 3 numbers
Top is my result
your's is on the bottom

Code: Select all

038 098 138 198 438 439 498 538 539 598 738 798 803 809 813 819 830 831 834 835 837 843 849 853 859 873 879 890 891 894 895 897 934 935 943 953
038 098 138 198 438 439 498 539 598     738 798 803 809 813 819 830 831 834     837 843 849 859 873     879 890 891 894 895 897 934 935 943 953 
Please try v2 in post #1.
aka Tin
:tree_02:
Tin's: Favorite Index | Simple Art === fb4yt video search | fb4yt recent video views report
Lottery numbers from image | Interested Members in TLF
Paying for hosting is to support my hobby, and donating money made from ads to The Red Cross.
         
0

tim
GL Blogger

Post#4 by tim » 14 Apr 2019, 22:13


I notice you list your numbers separated by comma and a space,
Would you like another version (v3) that prints them out in that format (separated by comma followed by space)?
aka Tin
:tree_02:
Tin's: Favorite Index | Simple Art === fb4yt video search | fb4yt recent video views report
Lottery numbers from image | Interested Members in TLF
Paying for hosting is to support my hobby, and donating money made from ads to The Red Cross.
         
0

tim
GL Blogger

Post#5 by tim » 14 Apr 2019, 22:50


I updated version 2 to get rid of debug code and print output separated by tabs as well as output separated by comma space.
aka Tin
:tree_02:
Tin's: Favorite Index | Simple Art === fb4yt video search | fb4yt recent video views report
Lottery numbers from image | Interested Members in TLF
Paying for hosting is to support my hobby, and donating money made from ads to The Red Cross.
         
0

No avatar
Rakster
Forum Member

Post#6 by Rakster » 14 Apr 2019, 23:09


I think I got it now. I have to enter the same set of numbers twice then the pairs to get my numbers.
Appreciate all the help with this... great job!
GIMP Learn rocks...
0

tim
GL Blogger

Post#7 by tim » 15 Apr 2019, 00:35


Well I thought you told me you enter a list 1 and list 2 of numbers then due pairs and remove numbers that appear in list 1 if it's not in due pairs.
If you want to just enter one list and due pairs I can do that too.
Check v3 where you only need to enter one list of numbers and due pairs, any numbers that doesn't contain due pairs will be removed.
Thanks for your request.
aka Tin
:tree_02:
Tin's: Favorite Index | Simple Art === fb4yt video search | fb4yt recent video views report
Lottery numbers from image | Interested Members in TLF
Paying for hosting is to support my hobby, and donating money made from ads to The Red Cross.
         
0

No avatar
Rakster
Forum Member

Post#8 by Rakster » 21 Apr 2019, 14:56


You are awesome!
perfect thanks!
GIMP Learn rocks...
1


TLF Topics: Active | Unanswered | Random
TLF Posts: Unread | New | Random
Lottery Forum
     Lottery/General Program Requests | Lottery Generators |🡆 Lottery CodeSkulptor Programs
     General Programs
     Chit Chat
Social:  Say Hello | Anything Goes | Shares

Locked
  • Similar Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 11 guests