Max

Category: Arithmetics
Since engine version: 1.0 OC

Description

Returns the greater of two values.

Syntax

int Max(int value1, int value2);

Parameters

value1:
first Value
value2:
second Value

Max

Category: Arithmetics
Since engine version: 7.0 OC

Description

Returns the largest value from an array. All array elements must be integers (or convertible to integer).

Syntax

int Max(array values);

Parameter

values:
array of integers
See also: BoundBy, Inside, Min