Re: How to determine the number of dimensions in an array
- From: "Harlan Grove" <hrlngrv@xxxxxxx>
- Date: 27 Apr 2005 09:22:15 -0700
Steve wrote...
>Is there any other (simple) way to determine the number of dimensions
an
>array has, other than having to iteratively cycle through calls of
>UBOUND(myArray,N) until an error arises ?
No, which is why it's one of the first things developers write a
function to handle. FWIW, many languages (Pascal, C, FORTRAN) also lack
any way of determining the number of array dimensions at runtime.
Indeed, I can think of only APL and its derivatives and math/stats mini
languages that provide built-in functions to return the number of array
dimensions at runtime.
.
- Follow-Ups:
- Re: How to determine the number of dimensions in an array
- From: beliavsky
- Re: How to determine the number of dimensions in an array
- From: Steve
- Re: How to determine the number of dimensions in an array
- References:
- Prev by Date: Re: how to lock a single cell?
- Next by Date: Re: the 'degree' symbol
- Previous by thread: How to determine the number of dimensions in an array
- Next by thread: Re: How to determine the number of dimensions in an array
- Index(es):
Relevant Pages
|