Syntax
HIGH(A1; A2 [; A3] ...)
Arguments
Accepts two or more arguments, which may be either scalar values or arrays.
Result
If all the arguments are scalar values, the result is also a scalar value.
If there is at least one array-argument, the result is an array. The size of the result is equal to the size of the input array.
If there is more than one array-argument, the size of the result is equal to the size of the smallest array-argument.
Description
Each element of the result is equal to the highest of the corresponding elements of the input arguments.
Example 1:
Expression: HIGH(arg1; 5.0)
arg1 | 5.8 | 3.2 | 1.0 | 6.9 | 1.7 |
result | 5.8 | 5.0 | 5.0 | 6.9 | 5.0 |
Example 2:
Expression: HIGH(arg1; arg2)
arg1 | 5.8 | 3.2 | 1.0 | 6.9 | 1.7 |
arg2 | 12 | 0 | 3.1 | 3.1 | 2.0 |
result | 12 | 3.2 | 3.1 | 6.9 | 2.0 |
Related Examples
Windows Forms: Data Manipulation\Functions\Basic Functions