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 asortmultr() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FUNCTION ASORTMULTR()

  Short:
  ------
  ASORTMULTR() Reverse sort multiple arrays on order of single array


  Returns:
  --------
  Nil

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

  Description:
  ------------
  Sorts [aArray2] through [aArray15] based on the sort
  results of [aArray1]. Sort is in reverse (descending) order. 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

   ASORTMULTR(aFieldNames,aFieldTypes,aFieldLens,aFieldDeci)

  Notes:
  -------
  ASORTMULT() does the same, except sorts in ascending
  order

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


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