Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TSDWIN: Clipper 5.0 Interface Library - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

 twArComp( aArray, bComp, nStart, nStop )
 ----------------------------------------------------------------------------
     Compares all elements of aArray using the bComp block from nStart
     to nStop (if specified, otherwise entire array) and returns the
     result.  Several sample blocks are provided in Array.ch.

     This function was taken from Nantucket Source File Array.prg.

       Arguments:

     aArray - 'A' Array to process.

     bComp  - 'B' Block with which to perform the compare.

     nStart - 'N' Start element. Defaults to 1.

     nStop  - 'N' Finish element. Defaults to last element.

       Return:

     Element Number which fits condition.

       Example:

     bLength := LEN( twArComp( Buttons,
                     {|x,y| LEN(x) > LEN(y)} ))

     Returns array element of Buttons[] whose length is a maximum.



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