hi,
I was wondering if anyone could point me in the right direction here!!
I have a program that reads in lottery results from the past 6 months (from the national lottery site) from a text file
31-Mar-2010,29,18,38,44,14,43,13,3,GUINEVERE
27-Mar-2010,32,38,11,15,42,6,24,2,GUINEVERE
24-Mar-2010,3,49,28,5,23,42,41,4,GUINEVERE
and stores it in an array (n-1,6) where n is the number of lottery lines, so the array looks like
0 1 2 3 4 5 6
0 29 18 38 44 14 43 13
1 32 38 11 15 42 6 24
then, in a 1D array I store the player's numbers, simply as
0 23
1 16
2 19
3 30
4 45
5 20
I want it to take each number from the player's number array individually and compare them to each row individually in the lotto results array i.e. the first six cells in each row in the results array will be compared with each user number to find any matches, if a value matches then a count is incremented. if the count is greater than 2
but i'm getting no where with it :( i've been trying to use the For To loops but keep getting index out of range, or else nothing is happening at all!!
i don't want or expect anyone to do any of the coding for me - just a few pointers on how to go about it would be great!