En:Rand

Материал из Pocket Fallout для КПК на PDA PC PPC Mobile.

Содержание

Syntax

Rand() : Number

Description

Function returns a random number taken from numbers random table, generated procedure Randomize()

Parameters

Without parameters

Result

The function returns a random number. Data type - Number

Example

Randomize();
var isOddValue = Mod(Rand(), 2)<>0;

See also

  1. Procedure Randomize
  2. General procedures and functions
Личные инструменты