Is that pseudocode?

If not, you may want to check case on your variables. Also, is " while Drawn(Index) = Drawn(Check) loop" correct or should it be == instead?

EDIT: Talk about timing...