J
Jerry West
I'd like to get the upper bound index of an integer array. I've tried the
following:
Dim i as Integer
Dim arrayIng() as Integer
i = arrayIng.GetUpperBound
This doesn't work. It seems GetUpperBound behaves more like a function in
that it wants a passed parameter. Is there not a property similar to VB6
like: i = UBound(arrayIng)
I realize that's still possible in VB .NET but isn't there a newer way of
doing it in VB .NET?
JW
following:
Dim i as Integer
Dim arrayIng() as Integer
i = arrayIng.GetUpperBound
This doesn't work. It seems GetUpperBound behaves more like a function in
that it wants a passed parameter. Is there not a property similar to VB6
like: i = UBound(arrayIng)
I realize that's still possible in VB .NET but isn't there a newer way of
doing it in VB .NET?
JW