GetRnd

Read value from random generator

Syntax: GetRnd(size)

  • size defines output size

Returns: Returns (value%size)

Notes: This function returns a value from random generator with its modulo operation over given size

Example:

  • GetRnd(3), gives back numbers in range

See also: SetRndSeed

Last updated

Was this helpful?