On Feb 18, 2007, at 7:36 PM, Craig A. Finseth wrote:

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.


Arrays are 0-based and broken.

How are they "broken"??



Strings are 1-based.

Unfortunately.


--
Seth Willits



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to