Syntax

maximum = REPMAX(tag)

Arguments

maximum: numeric

tag: database variable

Meaning

Returns the occurrence contents with the highest value from all occurrences of database variable tag.

Example

NN[1] = 5.4
NN[2] = 7
NN[3] = 2
maximum = REPMAX(NN)

Result

maximum is 7.