Loading

PRNG


math
Since v1.2.9
Available on all platforms
See also

The PRNG function initializes the stack's seeded Pseudorandom Number Generator (PRNG). This PRNG can later be used by the SRAND function to produce random numbers in a deterministic way (!).

Signature

Examples

42 PRNG SRAND // Gives the same pseudo-random number as the seed is reset to the same value. 42 PRNG SRAND