Thanks for your replies, guys.
MaorKeshet, a problem I perceived with your solution was the same problem I was having with randomly moving letters based on index position: As far as I'm aware it isn't possible to randomly generate numbers up to whatever limit, without randomly picking the same number more than once. So, randomly generating numbers in a list between 0-5 for instance, rather than generating 1,5,2,4,3,0, is far more likely to always produce something like 4,4,2,1,0,0, which isn't particularly helpful. Sure I could still order that as 0,0,1,2,4,4, but ideally in my scenario (particularly as other uses for random generation have come up), I need them to be unique numbers.
The solution I've gone with in the end is to have three Arrays:
ArrayLetters [J, U, M, B, L, E, D]
ArrayTemporary [J, U, M, B, L, E, D]
ArrayRandom [0, 0, 0, 0, 0, 0]
- then, with a loop, randomly moving a letter from ArrayTemporary to ArrayRandom, and then deleting said letter from the index of Array Temporary, so that I have something like...
ArrayLetters [J, U, M, B, L, E, D]
ArrayTemporary [ ]
ArrayRandom [B, L, M, J, U, D, E]
It's by no means ideal, though it works, but I'm not certain it would work with multiple rows in the same array, given that the loop is based on the width of ArrayTemporary, which changes over the course of the loop.
Basically, as mentioned in the beginning of this post, if I knew of a way to randomly generate numbers without repeating those that have already been generated, it would make the process a hell of a lot easier.
Many thanks for your suggestions.