Difference between revisions of "ASORT()"
Helengeorge (Talk | contribs) |
Barrymavin (Talk | contribs) (→Syntax) |
||
Line 4: | Line 4: | ||
==Syntax== | ==Syntax== | ||
− | ASORT(<array> [,<expN1>, [<expN2>]]) | + | ASORT(<array> [,<expN1>, [<expN2> [, <expN3> ] ]) |
− | + | ||
==See Also== | ==See Also== |
Revision as of 01:56, 17 November 2009
Purpose
Function to sort the elements of a specified array
Syntax
ASORT(<array> [,<expN1>, [<expN2> [, <expN3> ] ])
See Also
AADD(), AAVERAGE(), ABROWSE(), ACHOICE(), ACOL(), ACOPY(), ADEL(), ADESC(), ADIR(), AELEMENT(), AFIELDS(), AFILL(), AINS(), ALEN(), AMAX(), AMIN(), APPEND FROM ARRAY, AROW(), ARRAY(), ASCAN(), ASIZE(), ASTORE(), ASTRING(), ASUBSCRIPT(), ASUM(), COPY TO ARRAY, DECLARE, DIMENSION, GATHER, IN_ARRAY(), LOCAL, PRIVATE, PUBLIC, RELEASE, RESTORE, SAVE, SCATTER
Description
The ASORT() function sorts all the character elements in the specified <array>. The sort can start at element <expN1> and finish at element <expN2>. The ASORT() function will stop sorting when it finds a non-character element.
Example
use accounts declare names[reccount(),1] copy to array names fields company asort(names)
Products
Recital Database Server, Recital Mirage Server, Recital Terminal Developer