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).
- Charles On Mar 21, 2007, at 9:50 AM, Charles Heizer wrote: > It's a console application, I can't MsgBox ... > > The wierd thing I found is that if I do theArr.Append twice in a row > it adds 1 entry... > > - Charles > > > > On Mar 21, 2007, at 9:45 AM, Steve Garman wrote: > >> In a message regarding Issues with using an Array dated Wed, 21 Mar >> 2007 >> 09:37:37 -0700, Charles Heizer said that ... >> >>> and none of them are adding tmpS to the array, I do a Ubound and it >>> returns 0 >> >> Then there is one string in your array. An empty array has a UBound >> of -1 >> >> Have you tried >> MsgBox theArr(0) >> ? >> >> -- >> Steve Garman >> Using REALbasic Professional on Windows XP Pro >> >> >> _______________________________________________ >> Unsubscribe or switch delivery mode: >> <http://www.realsoftware.com/support/listmanager/> >> >> Search the archives: >> <http://support.realsoftware.com/listarchives/lists.html> >> > > ---------------------------------------------------------------------- > -- > Charles Heizer > Systems Management Solutions Group > Lawrence Livermore National Laboratory > 7000 East Ave. > L-285 > Livermore, CA 94550 > Phone: (925)422-0197 > Fax:(925)422-2425 > email: [EMAIL PROTECTED] > ---------------------------------------------------------------------- > -- > > > _______________________________________________ > Unsubscribe or switch delivery mode: > <http://www.realsoftware.com/support/listmanager/> > > Search the archives: > <http://support.realsoftware.com/listarchives/lists.html> > ------------------------------------------------------------------------ Charles Heizer Systems Management Solutions Group Lawrence Livermore National Laboratory 7000 East Ave. L-285 Livermore, CA 94550 Phone: (925)422-0197 Fax:(925)422-2425 email: [EMAIL PROTECTED] ------------------------------------------------------------------------ _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
