%RNK

<< Click to Display Table of Contents >>

Navigation:  Reference > Functions >

%RNK

This function computes the rank positions of the table cells specified as its argument, such that if the fifth cell in the argument had the greatest value, then the fifth cell in the destination would contain the rank number 1.

Form of use:

MT table [(part-id]) = %RNK(table[part-id]),

The pickup table block must contain the same number of cells as the putdown table block.

Note that this function always uses the weighted table if a weighted and unweighted table are present.