MAX real-valued function MAX real-valued function Syntax MAX (value, ..., value ) Function Return the maximum value contained in the list of values. Parameter value Each value in the list can be specified as a real-valued constant, variable, or expression. Details The list of values provided is scanned for the largest value, and that value is returned by the function. The sign of each value is considered. Thus, for example, the value -10 is considered larger than -100. Example The program instruction: max.value = MAX(x, y, z, 0) sets max.value to the largest value of the variables x , y , and z , or to zero if all three variables have values less than zero.
Related Keyword MIN real-valued function eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 334