Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- SuperLib 3.50 - function asortmult() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FUNCTION 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


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson