Aug 27, 2002 #1 kristof Programmer Jun 2, 2000 234 BE Hi all, What I am trying to do is this: newArr = Split(someString, "," arrLn = Len(newArr) But I get this error: Type mismatch: 'arrKeywords' Is there another function I should use or what? Or am I doing something wrong? Thx, Kristof
Hi all, What I am trying to do is this: newArr = Split(someString, "," arrLn = Len(newArr) But I get this error: Type mismatch: 'arrKeywords' Is there another function I should use or what? Or am I doing something wrong? Thx, Kristof
Aug 27, 2002 #2 ttmac Technical User Aug 16, 2002 105 IE Try the following: - arrayLength = ((UBound(myArray) - LBound(myArray)) + 1) If you are using option base 1 remove the +1 above Tom. Upvote 0 Downvote
Try the following: - arrayLength = ((UBound(myArray) - LBound(myArray)) + 1) If you are using option base 1 remove the +1 above Tom.
Aug 27, 2002 #3 denoxis Programmer Jul 22, 2002 154 US just curious - has anybody ever used Lbound()? Upvote 0 Downvote
Aug 27, 2002 #4 JohnYingling Programmer Mar 24, 2001 3,742 US I do not. I always use 0-based arrays. VB.Net supports only 0-based arrays so my array code converts with no change. http://www.VBResizer.com Forms/Controls Resizing/Tabbing Control http://www.VBCompare.com Compare Code (Text) http://www.VBSortGen.com Generate Sort Class in VB or VBScript Upvote 0 Downvote
I do not. I always use 0-based arrays. VB.Net supports only 0-based arrays so my array code converts with no change. http://www.VBResizer.com Forms/Controls Resizing/Tabbing Control http://www.VBCompare.com Compare Code (Text) http://www.VBSortGen.com Generate Sort Class in VB or VBScript