Difference between revisions of "TIAEmpty"

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

Latest revision as of 13:22, 23 April 2012

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