Difference between revisions of "TPAEmpty"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function TPAEmpty(const TPA: TPointArray): Boolean; </source> ==Availability== SCAR Divi 3.34 > Current ==Description== Return...") |
|||
Line 19: | Line 19: | ||
Output: | Output: | ||
+ | 0 | ||
1 | 1 | ||
− | |||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:TPA Functions]] | [[Category:TPA Functions]] | ||
[[Category:Array Functions]] | [[Category:Array Functions]] |
Latest revision as of 12:22, 23 April 2012
Contents
Definition
function TPAEmpty(const TPA: TPointArray): Boolean;
Availability
SCAR Divi 3.34 > Current
Description
Returns true if the length of the given TPointArray TPA is 0.
Example
begin WriteLn(TPAEmpty([Point(0, 0), Point(1, 1), Point(3, 3)])); WriteLn(TPAEmpty([])); end.
Output:
0 1