Shuffling an Int Array

BlitzMax Forums/BlitzMax Beginners Area/Shuffling an Int Array

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I've never had to do random int arrays but I have randomized arrays of objects e.g a shuffle a deck of cards. What I do is have a field that is used for randomizing. I set that field to a random number (like 1-1000) and then sort the objects by it.