IPB

> Randomize (procedure)
Чат
Форум
Загрузка...
 

Language:
Русский
English

 Randomize (procedure)


Initializes the built-in random number generator with a random value (obtained from the system clock).

Declaration

 procedure Randomize;

Target

Windows, Real, Protected

Remarks

If Range is not specified, the result is a Real-type random number within the range 0 <= X < 1. If Range is specified, it must be an expression of type Word, and the result is a Word-type random number within the range 0 <= X < Range. If Range equals 0, a value of 0 is returned.

The random number generator should be initialized by making a call to Randomize, or by assigning a value to RandSeed.

See Also

Sample Code

 
 К началу страницы 
Тэги: Randomize
 

Код для вставки: :: :: :: ГОСТ ::
Поделиться: //
 



-
Хостинг предоставлен компанией "Веб Сервис Центр" при поддержке компании "ДокЛаб"