
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Fast Library For Clipper 3.02 Reference - <b>adimarr()</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
aDimArr()
Returns the dimension number of an array
Syntax:
aDimArr ( aArray ) -> nDim
aArray : The array to treat
Description:
Returns the dimension number of an array. Tha array has to be
homogeneous since that uses the first position to calculate the
dimensions.
Return:
The array dimensions.
Example:
nMax := aDimArr ( { 2, 3, 1, 9, 7 } ) // 1
nMax := aDimArr ( { { 12, 12 }, { 1, 1 } } ) // 2
See Also: aMaxArr() aMinArr()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson