Rand

OpenTuring

Rand

Description   This unit contains the predefined subprograms that deal with random numbers.

All routines in the Rand unit are exported qualified (and thus must be prefaced with "Rand.").

Entry Points  
Real Returns a random real number.
Int Returns a random integer.
Reset Sets the seed in the default sequence to a default value.
Set Sets the seed in the default sequence to a specified value.
Next Returns a random real number from a sequence.
Seed Sets a seed in a sequence.