Environment: VB6
1. to declare multi dimensional array, can I use either one of the following?
Dim arr(2)(5) or Dim arr(2,5)?
2.
Private Sub GetData(arr as Variant)
arr = Array(arr(1)(1), arr(5)(1))
End Sub
Is it retrieving the value from arr array (array 1 element 1, array 5 element 1) and creating another array again?
Thankyou.
1. to declare multi dimensional array, can I use either one of the following?
Dim arr(2)(5) or Dim arr(2,5)?
2.
Private Sub GetData(arr as Variant)
arr = Array(arr(1)(1), arr(5)(1))
End Sub
Is it retrieving the value from arr array (array 1 element 1, array 5 element 1) and creating another array again?
Thankyou.