Navigation:  Reference > Functions >

MaximumValue()

Print this Topic Previous pageReturn to chapter overviewNext page

 

MAX(1,2)

PURPOSE

This function returns the maximum value of the two specified.

PARTS

1 f/c/eRequired - The first value to check, may be of any type other than P or F.

 

2 f/c/eRequired - The second value to check, may be of any type other than P or F.  Part 2 must be the same type as part 1.

 

RETURN TYPE - Variable

The value returned will be of the same type as part 1 & 2.

 

SEE ALSO

MIN()

 

EXAMPLE

define i type i

i = MAX(100,200)

// i = 200

 

define s type a size 10

s = MAX('ABC','DEF')

// s = 'DEF'

 

 

 


Page url: http://www.cassoftware.com/tas/manual/maxvalue().htm