> Sort of. If your array is 0 based, UBound is 1, even if it only has 1 > element. So, you need to keep your own count of elements. *sigh*.
No and no. UBound does exactly what it says it does, it returns the upper bound, the last index. The docs say this quite clearly and a simple example easily proves it. Hmm. This now works in 2006r3. It didn't used to. > Arrays are 0-based and broken. How are they "broken"?? OK, not any more. > Strings are 1-based. Unfortunately. Craig _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
