ASORTMULTR() Short: ------ ASORTMULTR() Reverse sort multiple arrays on order of single array Returns: -------- Nil Syntax: ------- ASORTMULTR(aArray1,aArray2,[...aArray15]) Description: ------------ Sorts [aArray2] through [aArray15] based on the sort results of [aArray1]. Sort is in reverse (descending) order. All arrays must be of the same length! [aArray3]-[aArray15] are optional. Examples: --------- // sort the fieldname array, as well as the arrays containing // field types, lengths, and decimals ASORTMULTR(aFieldNames,aFieldTypes,aFieldLens,aFieldDeci) Notes: ------- ASORTMULT() does the same, except sorts in ascending order Source: ------- S_AMSORT.PRG
Pingback: SP Array Functions | Viva Clipper !
Pingback: SP Functions | Viva Clipper !