Skip to content
Tristan Hume edited this page Apr 23, 2012 · 2 revisions

#Rand.Next

##Syntax Rand.Next (seq : 1 .. 10) : real

##Description The Rand.Next procedure is used when you need several sequences of pseudo-random numbers, and you need to be able to exactly repeat these sequences for a number of simulations. The Rand.Next procedure is the same as rand, except seq specifies one of ten independent and repeatable sequences of pseudo-random real numbers.

The Rand.Seed procedure is used to start one of these sequences at a particular point.

##Status Exported qualified.

This means that you can only call the function by calling Rand.Next, not by calling Next.

##See also rand_seed.html, rand_int.html, rand_real.html and .

Clone this wiki locally