MAX

Macro that will return the larger of two values

Description

MAX( value1, value2 )

Returns the larger of two values

Works with both float and integer parameters.

Parameters

value1 input value
value2 input value

Return value

Returns the larger of value1 and value2.

Example usage

   new n;
 
   n = MAX(51, 53);    // 53