Difference between revisions of "Max"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function Max(a, b: Integer): Integer; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Returns the largest ...") |
(→See Also) |
||
(One intermediate revision by the same user not shown) | |||
Line 25: | Line 25: | ||
*[[Min]] | *[[Min]] | ||
*[[MaxE]] | *[[MaxE]] | ||
− | *[[ | + | *[[AMax]] |
+ | *[[AMaxE]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Math Functions]] | [[Category:Math Functions]] |
Latest revision as of 22:53, 27 June 2011
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