Sign in Join
FPDoc Onlineexperiment

Randomize procedure

In unit System

Initialize random number generator.

Declaration

pascal
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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.