Random Number Generation WIthout Previously Generated Numbers

Hi,

I need to randomly generate numbers. However, I need it to not generate a number that was previously generated. So if the number 1 is generated, the number 1 will never be generated again. And if the number 2 is generated next, then the numbers 1 and 2 will never be generated.

Thank you!

What is the range of numbers you need to generate?  You could use a shuffle bag for this if the set of numbers is discrete and not too large.

Download this example to see what i mean: 

http://github.com/roaminggamer/CoronaGeek/raw/master/Hangouts/Tips_and_Tricks/shufflebag.zip

What is the range of numbers you need to generate?  You could use a shuffle bag for this if the set of numbers is discrete and not too large.

Download this example to see what i mean: 

http://github.com/roaminggamer/CoronaGeek/raw/master/Hangouts/Tips_and_Tricks/shufflebag.zip