Thanks. I hadn't realized that.
Jack
----- Original Message -----
From: "Will Leshner" <leshner at ljug dot com>
To: "Getting Started" <gettingstarted at lists dot realsoftware dot com>
Sent: Tuesday, December 16, 2003 5:20 PM
Subject: Re: Dim of an array
>
> On Dec 16, 2003, at 2:59 PM, CV wrote:
>
> > I think that UBound(rawinput) will return the last index of the first
> > dimension_only. Other than that, I think we are on our own.
> >
>
> I think that used to be true, but now you can get the bounds of each
> dimension and the number of dimensions. Pass an optional second
> parameter to Ubound to say which dimension you want. The first
> dimension is numbered 1 (here's another 1-based thing to throw in the
> list). Pass -1 to get the number of dimensions (as Charles has already
> said).
>
- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|