SP_ASORTMULT

ASORTMULT()

  Short:
  ------
  ASORTMULT() Sort multiple arrays on order of single array

  Returns:
  --------
  Nil

  Syntax:
  -------
  ASORTMULT(aArray1,aArray2,[...aArray15])

  Description:
  ------------
  Sorts [aArray2] through [aArray15] based on the sort
  results of [aArray1]. 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

   ASORTMULT(aFieldNames,aFieldTypes,aFieldLens,aFieldDeci)

  Notes:
  -------
  ASORTMULTR() does the same, except sorts in reverse
  order

  Source:
  -------
  S_AMSORT.PRG

 

2 responses to “SP_ASORTMULT

  1. Pingback: SP Array Functions | Viva Clipper !

  2. Pingback: SP Functions | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.