Colin
asked on
Create a predefined Arraylist of values and then pass the values off to a class routine.
I am trying to create an array of values "Array1" that I want to get passed into a class below.
Private Sub PopulateOMRONValues()
RetrieveOMRONvalues()
newRuntimeClass.Values(Obj)
End Sub
Public Obj As New ArrayList
Public array1 As ArrayList ({1, 2, 3, 4, 5, 6, 7, 8, 9})
Private Sub RetrieveOMRONvalues()
obj = array1
End Sub
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.