Max

From SCAR Divi Manual
Revision as of 22:53, 27 June 2011 by Freddy (talk | contribs) (See Also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function Max(a, b: Integer): Integer;

Availability

SCAR Divi 3.00 > Current

Description

Returns the largest of 2 given integer values a and b.

Example

begin
  WriteLn(Max(3, 4));
  WriteLn(Max(4, 3));
end.

Output:

4
4

See Also