I was wondering that myself. Recently, I've been using something like:
set Array(Index) to random
to set a random variable. But I don't know if this is correct or whathaveyou. Maybe there needs to be something after it, like:
set Array(Index) to random(1-100)
Ah, I don't know.