The title says it all
Today we will look at randoms. Random numbers, randoms with limits and random arrays. So let’s begin…
If you look at random then that gives the basic syntax…
Basic use
1 | randomNum = random(15) |
Mins and Max’s
1 | randomNum = random()*(max-min)+min; |
please make sure to have max and min predefined variable numbers
Randoms from arrays
1 | randomString = ArrayName[random(ArrayName.length)]; |
Pretty simple huh? Tomorrow i will show you why and why not to use them

