target.Max

Description

Compares 2 or 3 numeric, date, or string values and returns the maximum value.  String values are compared based on their ASCII value.

Syntax

Function Max(val1, val2, val3(optional))

Parameters

variant val1 - a numeric, date, or string value to be checked. (required)

variant val2 - a numeric, date, or string value to be checked. (required)

variant val3 - a numeric, date, or string value to be checked. (optional)

Return value

variant value - the largest/maximum value

See also

Platform Objects and Methods

target.KillProcess

target.Min

Target Methods