| 
 
  | 
| 
 Description  | 
 Max() compares two values and returns the higher value.  | 
| 
 
  | 
 
  | 
| 
 Syntax  | 
 Max(value1, value2)  | 
| 
 
  | 
 
  | 
| 
 Parameters  | 
 value1 A value 
 value2 Another value  | 
| 
 
  | 
 
  | 
| 
 Return Value  | 
 The greater of the parameters.  | 
| 
 
  | 
 
  | 
| 
 Examples  | 
 Max1=begin Max(Savg(IBM,20),Savg(IBM,5)) end  | 
| 
 
  | 
 
  | 
| 
 Comments  | 
 NA  |