D
DIOS
In VB2005 I have a function that takes an array of integers
Private Sub MyGroups(ByVal grpVals() As Integer)
'blah
End Sub
I can call the function no problem with two variables
Dim myvals() As Integer = {var1, var2}
MyGroups(myvals)
Is there a way to do this in one line like so
MyGroups( {var1, var2})
Ive tried various ways and searched for different approaches but cant
seem to find one that does it in one line.
AGP
Private Sub MyGroups(ByVal grpVals() As Integer)
'blah
End Sub
I can call the function no problem with two variables
Dim myvals() As Integer = {var1, var2}
MyGroups(myvals)
Is there a way to do this in one line like so
MyGroups( {var1, var2})
Ive tried various ways and searched for different approaches but cant
seem to find one that does it in one line.
AGP