Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.2 . Sample Reference - <b>array.prg</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Array.prg
 Array manipulation examples
--------------------------------------------------------------------------------

     ABrowse( <aArray>, <nTop>, <nLeft>, <nBottom>, <nRight> ) --> value

     Browse a two-dimensional array using a TBrowse object and return the
     value of the highlighted array element.

     ABlock( <cName>, <nSubx> ) --> bABlock

     Given an array name and subscript, return a set-get block for the array
     element indicated.

     Amax( <aArray> ) --> nPos

     Return the subscript of the array element with the highest value.

     Amin( <aArray> ) --> nPos

     Return the subscript of the array element with the lowest value.

     AComp( <aArray>, <bComp>, [<nStart>], [<nStop>] ) --> valueElement

     Compare all elements of <aArray> using the <bComp> code block from
     <nStart> to <nStop> (if specified, otherwise entire array) and return
     the result.  Several sample blocks are provided in Array.ch.

     Dimensions( <aArray> ) --> aDims

     Return an array of numeric values describing the dimensions of a nested
     or multidimensional array, assuming the array has uniform dimensions.


See Also: Array.ch

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