Random value from array.
#1

Hello!

So, I have this system, where it generates random questions.
There is one problem - how could I generate a question, that hasn't been given yet?

For example, I have pvars: t_que[1-5];
and they store the questions they already been given, and I also have the maximum number of questions that exists (15), so how could i select a random value from 15, that isn't t_que[1-5] pvars?
Reply


Messages In This Thread
Random value from array. - by kLx - 18.03.2011, 13:19
Re: Random value from array. - by Mike Garber - 18.03.2011, 13:45

Forum Jump:


Users browsing this thread: 1 Guest(s)