TPAEmpty

From SCAR Divi Manual
Revision as of 12:21, 23 April 2012 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> function TPAEmpty(const TPA: TPointArray): Boolean; </source> ==Availability== SCAR Divi 3.34 > Current ==Description== Return...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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:

1
0