AMax

From SCAR Divi Manual
Revision as of 22:33, 2 July 2011 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> function AMax(Data: TIntegerArray): Integer; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Returns the l...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function AMax(Data: TIntegerArray): Integer;

Availability

SCAR Divi 3.00 > Current

Description

Returns the largest of a given TIntegerArray of values Data.

Example

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

Output:

4

See Also