【NthHighest_a】
[code]Inputs: NthHighArray[size](NumericArrayRef), VArraySize(Numeric), NthValue(Numeric);Variables: var0(0);
condition1 = NthValue <= MinList(size, VArraySize) AND NthValue > 0 ;
If condition1 Then Begin
var0 = SortDown_a(NthHighArray, VArraySize);
NthHighest_a = NthHighArray[NthValue];
End
Else
NthHighest_a = -1;
[/code]
页:
[1]