Min

From SCAR Divi Manual
Revision as of 23:52, 27 June 2011 by Freddy (talk | contribs) (See Also)
Jump to: navigation, search

Definition

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

Availability

SCAR Divi 3.00 > Current

Description

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

Example

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

Output:

3
3

See Also