I’m a newbie here and I want to generate random questions without duplicating from the first step because I have no idea where I can start.
Do you have a list of questions somewhere and you want to display a random one from the list? If so, perhaps there’s a way to duplicate the list, then delete questions from the duplicate list as you choose them, so then the next time you choose a question it’s only from the list of those remaining…
Or, you could number each question (using an array variable perhaps), then choose a random number and display that question. Then store numbers in another variable and check it each time so that you’re not choosing a number/question you’ve already used.
Hello @mzaid ,
what are you asking is a “shuffle cards” problem.
You can resolve it reading this post: Card Shuffling Function - #2 by Lizard-13
or (I hope) using the Object stack extansions ( I never use it but the extension description seems to help you)
I have a list of questions and I want to display a random one from the but I don’t know how to do that so can I send you the project and help me with it??
OK, I can help you.