Difference between revisions of "TPAEmpty"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function TPAEmpty(const TPA: TPointArray): Boolean; </source> ==Availability== SCAR Divi 3.34 > Current ==Description== Return...")
(No difference)

Revision as of 12:21, 23 April 2012

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