Is this 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
I just checked the Manual and you are right Norman ;-) Now, knowing this will solve some issues i have in two of my Projects. *lol* Thank you 2007/3/21, Norman Palardy <[EMAIL PROTECTED]>: > > > On Mar 21, 2007, at 11:08 AM, Charles Heizer wrote: > > > I think I have got it solved but it's a hack. > > > > I was adding items to the array in a for loop, so I'm now adding this > > (theArr.Append "ToBeDeleted") before the for loop and it adds just > > fine. Then the for loop adds the other entries in to the array and > > after the for loop I remove theArr(0). > > Ubound is NOT the count of items in the array (you do know that right ?) > > The count is UBound + 1 > > Ubound is the highest index in the array that is used > Since arrays always start at 0 this makes sense that adding 1 item > results in a ubound of 0, but the count is 1 > > > > _______________________________________________ > Unsubscribe or switch delivery mode: > <http://www.realsoftware.com/support/listmanager/> > > Search the archives: > <http://support.realsoftware.com/listarchives/lists.html> > _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
