lundi 11 juillet 2016

Loop through all elements of an array in random order?

I have an 1 dimensional array with 24 elements inside it. I want to loop through all of them in random order. I know how to loop them from 1 - 24, but how to randomly select one and then another and so on until all elements have been selected?

I'm using a VB-like scripting language (QAWizard), so I think any idea or VB code will be enough.




Aucun commentaire:

Enregistrer un commentaire