Navigation: Scripting Reference Manual > Functions & Subroutines > Max4

 

Max4

 

Contact Us: fredsupport@photonengr.com

 

Description

Returns the maximum of four values.

 

Syntax

m = Max4 ( A , B, C, D )

 

Parameters

m (Variant)

The maximum of A and B.

 

A As Variant

First value.

 

B As Variant

Second value.

 

C As Variant

Third value.

 

D As Variant

Fourth value.

 

Remarks

Max4 finds the maximum of four values. These values can be integers, floating point values or FRED functions.

 

See Also

Max

Max3

Min

Min3

Min4

Examples

 

 

 

 

 

 

Copyright © Photon Engineering, LLC