Difference between revisions of "RandomTIA"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function RandomTIA(const Count, Range: Integer): TIntArray; </source> ==Availability== SCAR Divi 3.38 > Current ==Descripti...")
(No difference)

Revision as of 13:44, 21 November 2012

Definition

function RandomTIA(const Count, Range: Integer): TIntArray;

Availability

SCAR Divi 3.38 > Current

Description

Generates a random TIntArray with a length specified by Count and the range [0,Range-1]. An extended version of this function is available as RandomTIAEx.

Example

begin
  WriteLn(TIAToStr(RandomTIA(10, 10)));
end.

See Also