15 Replies Latest reply: Jul 14, 2016 3:52 AM by Marcus Sommer RSS

    VBscript - how to create a Generic list of type string

    Marcel van den Dobbelsteen

      I need to create an Generic list of type String, that I want to fill with some values.

      I tried the following statements

      Dim sList
      Set sList = CreateObject(“System.Collections.Generic.List[String]”)
      sList.Add(“Read”)
      sList.Add(“Stop”)

      This is not working.

      Can you please provide me with the correct code?