TPARandom

From SCAR Divi Manual
Revision as of 08:40, 3 July 2011 by Freddy (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function TPARandom(const Count, XRange, YRange: Integer): TPointArray;

Availability

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(TPARandom(10, 10, 10)) + ']');
end.