Avatar of cmdolcet
cmdolcet
Flag for United States of America

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

Open in new window

Visual Basic.NET

Avatar of undefined
Last Comment
it_saige

8/22/2022 - Mon