Trail: PROIV Documentation > Developer > PROIV Developer > Developing Functions > Events and Logic > MAX

 

 

Purpose

MAX (Maximum) finds the highest value in a series of operands.
 

Syntax

variable =MAX(operand1, operand2, . . . operandn)
 

Operation

operand1 . . . operandn are valid numeric constants, variables, or expressions, separated by commas.
 

Example

Assume

#A = 7,

#B = 6.9,

and

#C = -8.25.

#D = MAX (#B, #C, 3) sets #D to 6.9
 

Comment on this topic

Topic ID: 520089