20. RANDOMIZE STATEMENT

20.1 General Description

The randomize-statement overrides the implementation-predefined sequence of pseudo-random numbers as values for the RND function, allowing different (and unpredictable) sequences each time a given program is executed.

20.2 Syntax

        1. randomize-statement = RANDOMIZE

20.3 Examples

    RANDOMIZE

20.4 Semantics

Execution of the randomize-statement shall generate a new un predictable starting point for the list of pseudo-random numbers used by the RND function (see 9).

20.5 Exceptions

None.

20.6 Remarks

In the case of implementations which do not have access to a randomizing device such as a real-time clock, the randomize- statement may be implemented by means of an interaction with the user.