theta
07-30-2012, 09:24 AM
I have seen a few ways of declaring arrays, can somebody please highlight the significance/differences of the methods :
Dim varMyArray() as Variant
Dim varMyArray() as Variant()
Dim arrMyArray() as String
Dim arrMyArray() as String()
Which is the correct naming convention? What is the significance of the extra () on the definition type.
Also, how would I populate a quick array...
arrMyArray = Array("Jan","Feb","Mar") ?
Dim varMyArray() as Variant
Dim varMyArray() as Variant()
Dim arrMyArray() as String
Dim arrMyArray() as String()
Which is the correct naming convention? What is the significance of the extra () on the definition type.
Also, how would I populate a quick array...
arrMyArray = Array("Jan","Feb","Mar") ?