Re: How to determine the number of dimensions in an array
- From: "Steve" <news_svaardt@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 28 Apr 2005 22:59:48 +0900
Cool. Then that confirms that I'm not missing something thanks. Now... next
question off this one is, what'd you recommend as being the "best" way of
determining the number of dimensions in any given array passed to a
function.
Regards
Steve
"Harlan Grove" <hrlngrv@xxxxxxx> wrote in message
news:1114618935.638383.37240@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> 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: Harlan Grove
- Re: How to determine the number of dimensions in an array
- References:
- How to determine the number of dimensions in an array
- From: Steve
- Re: How to determine the number of dimensions in an array
- From: Harlan Grove
- How to determine the number of dimensions in an array
- Prev by Date: Re: Show all formulas?
- Next by Date: Re: SUMIF Problem
- Previous by thread: Re: 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
|