MinRef

Top  Previous  Next

minref($p)

 

Finds the reference of the minimum 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)

 

minref($p) will return 3 as the minimum value (1) is the 3rd value in the parameter.