Java actually implements multi-dimensional arrays as arrays of arrays, so
to get the first dimension of (for example) a=int[3,5] one can just say
a.length. To get the second dimension (assuming all the same length, which
they needn't be): a[0].length
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Mike Cowlishaw, IBM Fellow
mailto:
[hidden email] --
http://www2.hursley.ibm.com~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>