<RetVar> = Returns the highest of all given integer values.
<Var/Number> = Upto 5 integer values can be entered for evaluation. These can be entered as a variable containing a numeric (integer) value.
Returns the highest of all given integer values.
All <Var/Number> entries must be 'integer' ( DATATYP_INT ) entries. You cannot enter strings into this command.
You can enter this value as a simple 'integer', for example 506, as in the example, but you can also enter a variable like $highest.value.1, $highest.value.2, and so on, which could be results from calculations of other scripts in order to determine the highest result.
Examples:
$highest.value = get maximum, 16, 203, 87, 506, 111
In the above example, $highest.value would equal 506.
--------------------------------------------
$highest.value = get maximum, 16, $integer.1, 87, $integer.2, 111
In the above example, $highest.value would equal the highest value of all the <Var/Number> entries. You can mix directly entered integers and variables containing integers.
Command Location:
- »» General Commands
<RetVar> = get maximum, <Var/Number>, <Var/Number>, <Var/Number>, <Var/Number>, <Var/Number>