[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'System' (#rtl)

Randomize

Initialize random number generator

Declaration

Source position: systemh.inc line 583

procedure Randomize;

Description

Randomize initializes the random number generator of Free Pascal, by giving a value to Randseed, calculated with the system clock.

For an example, see Random.

Errors

None.

See also

Random

  

Generate random number

The latest version of this document can be found at lazarus-ccr.sourceforge.net.