Difference between revisions of "RandomTPA"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function RandomTPA(const Count, XRange, YRange: Integer): TPointArray; </source> ==Availability== SCAR Divi 3.26 > Current ==D...") |
|||
Line 5: | Line 5: | ||
==Availability== | ==Availability== | ||
− | SCAR Divi 3.26 > Current | + | SCAR Divi 3.28 > Current |
+ | |||
+ | ===Aliases=== | ||
+ | *TPARandom (SCAR Divi 3.26 > Current) | ||
==Description== | ==Description== |
Revision as of 18:52, 20 October 2011
Definition
function RandomTPA(const Count, XRange, YRange: Integer): TPointArray;
Availability
SCAR Divi 3.28 > Current
Aliases
- TPARandom (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
begin WriteLn('TPointArray[' + TPAToStr(RandomTPA(10, 10, 10)) + ']'); end.