Ubound is upper bound of the array. 

UBound returns the following values for an array with
these dimensions:

Dim A(1 To 100, 0 To 3, -3 To 4)

Statement Return Value 
UBound(A, 1) 100 
UBound(A, 2) 3 
UBound(A, 3) 4 

Do you not have a copy of the MSDN help files with
your copy of VB...it's really a helpful reference with
lots of info and examples!

tim


--- HouseDad <[EMAIL PROTECTED]> wrote:

> Thank you Rick and Shawn for your replies!
> 
> I just have a question about the commands.  I know
> they work, but I 
> would like to understand what's going on.
> 
> What is "ubound"?  unbound?
> 
> my array is like this locations(50,5)
> 
> so I can "ERASE locations" to reset it to
> 0,nothing,blank, etc?
> 
> or REDIM (ubound(locations)) ?  Which does the same
> thing but just 
> seems a little more complicated?
> 
> Thanks in advance.
> 
> [c]
> 
> 
> 



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/k7folB/TM
--------------------------------------------------------------------~-> 


'// =======================================================
    Rules : http://ReliableAnswers.com/List/Rules.asp
    Home  : http://groups.yahoo.com/group/vbHelp/
    =======================================================
    Post  : [EMAIL PROTECTED]
    Join  : [EMAIL PROTECTED]
    Leave : [EMAIL PROTECTED]
'// =======================================================
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/vbhelp/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to