home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Database / CLIPR503.W96 / ARRAY.C_ / ARRAY.C
Text File  |  1995-06-20  |  665b  |  19 lines

  1. /***
  2. *
  3. *  Array.ch
  4. *
  5. *  Header file for array functions contained in Array.prg
  6. *
  7. *  Copyright (c) 1993-1995, Computer Associates International Inc.
  8. *  All rights reserved.
  9. *
  10. *  Usage: place #include "Array.ch" at the top of any program file
  11. *         that uses a function from Array.prg.
  12. */
  13.  
  14. // Comparison blocks to be used with AComp()
  15. #define AC_MAX     {|x,y| x > y }              // Element with maximum value
  16. #define AC_MIN     {|x,y| x < y }              // Element with minimum value
  17. #define AC_MAXLEN {|x,y| LEN( x ) > LEN( y ) } // Element with maximum length
  18. #define AC_MINLEN {|x,y| LEN( x ) < LEN( y ) } // Element with minimum length
  19.