|
Re: Can function in TS8 return array?
Sorry, i'm don't see this example in this guide:
Sorts the values of a one-dimensional array in either ascending or descending order based on the specified inputs.
Note All array-based function calculations begin with array element 1.
Function
SortArray(PriceArray, Size, HiLo)
Parameters
PriceArray
The name of a declared numeric array to sort.
Size
The number of data elements (size) of the array, starting with element 1, to include in the sort.
HiLo
1 = sort descending, -1 = sort ascending
Returns
SortArray always returns 1. It will sort the values of the specified array elements in order based on the HiLo input.
and all!
|