[Overview][Constants][Types][Classes][Procedures and functions] | Reference for unit 'math' (#rtl) |
Return largest of 2 values
Source position: line 0
function Max( |
a: Integer; |
b: Integer |
):Integer; |
a: Int64; |
b: Int64 |
):Int64; |
a: Extended; |
b: Extended |
):Extended; |
Max returns the maximum of Int1 and Int2.
None.
|
Return smallest of two values. |
|
|
Return largest element in integer array |
|
|
Return largest value in array |
Program Example24; { Program to demonstrate the max function. } Uses math; Var A,B : Cardinal; begin A:=1;b:=2; writeln(max(a,b)); end.
No notes exist for this page yet.