Re: BGT question
If I understand correctly, you probably want two arrays: one with the questions, and the other with the answers.
You'd have answers[0] be the answer to questions[0], answers[1] for questions[1], etc.
Then you'd create a random int to decide which question to show. Ex, int index = random(0, questions.length()-1);
Then your input_box would take questions[index] where you'd normally put the answer.
if(answers[index]==input) alert("Correct!", "You\'re right!");
Hth
_______________________________________________ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector