Difference between revisions of "TPARandom"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function TPARandom(const Count, XRange, YRange: Integer): TPointArray; </source> ==Availability== SCAR Divi 3.26 > Current ==D...")
 
(Redirected page to RandomTPA)
 
Line 1: Line 1:
==Definition==
+
#REDIRECT [[RandomTPA]]
<source lang="scar" lines="false">
 
function TPARandom(const Count, XRange, YRange: Integer): TPointArray;
 
</source>
 
  
==Availability==
+
[[Category:Deprecated Functions]]
SCAR Divi 3.26 > Current
 
 
 
==Description==
 
Generates a random [[TPointArray]] with a length specified by '''Count''' and the ranges for the x and y coordinates of all points specified by '''XRange''' and '''YRange'''.
 
 
 
==Example==
 
<source lang="scar">
 
begin
 
  WriteLn('TPointArray[' + TPAToStr(TPARandom(10, 10, 10)) + ']');
 
end.
 
</source>
 
 
 
[[Category:Functions]]
 
[[Category:TPA Functions]]
 
[[Category:Array Functions]]
 

Latest revision as of 18:51, 20 October 2011

Redirect to: