Futurebasic/Language/Reference/cfindexsort

CFINDEXSORT functionEdit

CFINDEXSORTEdit

FunctionEdit

✔ χ Appearance ✔ χ Standard ✔ χ Console

SyntaxEdit

ignore = FN CFINDEXSORT ( whichIndex )

Revised:
November; 2006 (FB 4, Release 4)

DescriptionEdit

This function is actually easier to implement than it appears. The return value of the function is undefined and therefore ignored. The parameter that you pass to the array is the index number. Pass zero if you are only using one INDEX$ array.
Items in the array are sorted from the least to the greatest.

Note:
This only works if you have included the CFIndex.Incl. This only works in CarbonLib v1.0 and later and in MacÊOSÊX v10.0 and later. If you have any expectation of serving older computers, you should block the function so that this sorting routine is not executed.

See AlsoEdit

CFINDEX.INCL
INDEX$