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...")
 
 
Line 21: Line 21:
  
 
[[Category:Functions]]
 
[[Category:Functions]]
[[Category:TPA Functions]]
+
[[Category:TIA Functions]]
 
[[Category:Array Functions]]
 
[[Category:Array Functions]]

Latest revision as of 13:46, 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