MaxRef

Top  Previous  Next

maxref($p)

 

Finds the reference of the maximum value in the data parameter $p.

 

For example, if $p is the following data parameter.

 

$p=data(4,8,1,3,9,6,4,3,7,8)

 

maxref($p) will return 5 as the maximum value (9) is the 5th value in the parameter.