Well, with all this talk of arrays and dynamic arrays and such, i did some looking.
now take for instance
or
Which would be faster, (Arrayslists seem to be much more flexible)and in the Class Method does it make a difference speed wize using ByRef in the method signature vs ByVal (I thought arrays always were passed by reference)
Thanks
now take for instance
Visual Basic:
Dim arrTXT(4) As Textbox
arrTXT(0) = txtFirstName
arrTXT(1) = txtLastName
'etc
Class.Method(arrTXT)
or
Visual Basic:
Dim arrTXT as Arraylist
arrTXT.Add(txtFirstName)
arrTXT.Add(txtLastName)
'etc
Class.Method(arrTXT)
Which would be faster, (Arrayslists seem to be much more flexible)and in the Class Method does it make a difference speed wize using ByRef in the method signature vs ByVal (I thought arrays always were passed by reference)
Thanks