On Mar 21, 2007, at 17:48 UTC, Sascha Schneppmueller wrote: > Is this true ?
Yes, it's true. > I'd always thought it would be the count of all Items > in an array. > F.e.: s(0,1,2,3,4) = Ubound 5 Nope, UBound(s) = 4, since the upper bound (what "UBound" stands for) is 4. This is handy when iterating over an array since you can just do: for i as Integer = 0 to UBound(s) ... next i instead of having to go to UBound(s)-1 (as you have to do, for example, with Dictionary.Count, since that really is a count rather than an upper bound). Best, - Joe -- Joe Strout -- [EMAIL PROTECTED] Verified Express, LLC "Making the Internet a Better Place" http://www.verex.com/ _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
