Difference between revisions of "AMax"

From SCAR Divi Manual
Jump to: navigation, search
(Availability)
(Availability)
Line 7: Line 7:
 
SCAR Divi 3.00 > Current
 
SCAR Divi 3.00 > Current
  
* '''Data''' was a TIntegerArray before SCAR Divi 3.28.
+
* '''Data''' was a [[TIntegerArray]] before SCAR Divi 3.28.
  
 
==Description==
 
==Description==

Revision as of 10:19, 21 October 2011

Definition

function AMax(Data: TIntArray): Integer;

Availability

SCAR Divi 3.00 > Current

Description

Returns the largest of a given TIntArray of values Data.

Example

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

Output:

4

See Also