Difference between revisions of "Min"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function Min(a, b: Integer): Integer; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Returns the smallest...") |
(→See Also) |
||
Line 24: | Line 24: | ||
==See Also== | ==See Also== | ||
*[[Max]] | *[[Max]] | ||
− | *[[ | + | *[[AMin]] |
*[[MinE]] | *[[MinE]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Math Functions]] | [[Category:Math Functions]] |
Revision as of 22:52, 27 June 2011
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