ly******@yahoo.ca <ly******@yahoo.ca> wrote:
: My idea (for a string array, a) is
: UBound(Split(RTrim(Join(a))))
: Please, let me know how and if this works as it's "total air" code.
Does this mean that this is invalid?
Dim Aray(26) as String
Aray(19) = "This "
Aray(8) = "is "
Aray(12) = "my "
Aray(0) = "array."
This 26 element array with four defined elements has its last
defined element at place 20
A separate counter seems like the safest route to me, updated like
this:
If array_position_just_defined > highest_array_position Then
highest_array_position = array_position_just_defined
with highest_array_position initialized to -1 for the empty array.
--thelma