QUOTE(Gus @ 21 Aug, 2008 - 07:47 AM)

I do not have a clue how to write the code. i could work with what i've got and probably figure out through trial and error exactly where to place it. I would need to insert another text box thats about all i do know.
I'm no coding expert, so I'm sorry I can't be more help than just to throw out ideas that might not help at all--I'm just hoping they might give you an idea on how to maybe accomplish it or some directions you could take with this.
I don't entirely follow exactly what your demo code is doing. I'm having trouble seeing where it's going to assign the individual numbers suits (like spades, clubs, etc.)
But I do know you have an array, each array position should be assigned a card value (like King of Spades). Then it picks a random number in the array & displays the card associated w/ that number.
To adapt it to bingo (before even considering how to show numbers that have been called), you'll have to adapt each array position to allow for the possible bingo values B1-O(whatever)
#'s 1-15 (I think) are associated w/ B, and #'s 16-30 go with I...etc.
I'm not sure about the rules offhand...you can look that up. But you'll need to have it say if the random number chosen is, for example 1, it says ok the array number is less than or equal to 15 and greater than 0, so the letter is B.
Then it adds the array's number onto the letter B. You'd probably want to do this in a string.
Then if the number is greater than 16 & less than or equal to wherever "I" ends, it adds "I"+array# for that.
You'll probably want it to sort the randomly picked values according to their Bingo value, so say O74 is called, then B 2, then I 17, then B 5
It'll have a column with all the B's sorted in order: B2, B5
Then a column with I's, etc. Every time a new number is selected, it will need to append that to the appropriate column & re-sort the list.
Or you might do something in VBA for MS Excel where you have your excel spreadsheet columns laid out like the numbers. Then when a number is called, it makes the font of the cell that corresponds to that bingo value BOLD & underlines it (actually might even be better to use the highlight part of excel). Then you'd have a graphical display of what numbers have & haven't been called
This would probably be the best way to go.
It'll be a pain to code, but you should always start simpler & then build up to the bigger goals (like having it DISPLAY the stuff properly). First you have to have it be able to pick a random bingo value & store it in some list/array.