TIAEmpty

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

Definition

function TIAEmpty(const TIA: TIntArray): Boolean;

Availability

SCAR Divi 3.34 > Current

Description

Returns true if the length of the given TIntArray TIA is 0.

Example

begin
  WriteLn(TPAEmpty([1, 2, 3]));
  WriteLn(TPAEmpty([]));
end.

Output:

0
1