### Get List Items

Getting the list items solutions. Solution 1 is the best option.
`Sub Process_Globals
Private MyList As List
..
`Sub AppStart (Form1 As Form, Args() As String)
...
MyList.Initialize
MyList.AddAll(Array As String("A", "B", "C"))
MySub(MyList)
...
'Solution 1
`Sub My(l as List)
For Each s as String In l
log(s)
Next
End Sub`
'Solution 2
`Sub My(l As List)
For i = 0 To l.Size - 1
Log(l.Get(i))
Next
End Sub`
``

Changed: , Category: Lists, File: T6C215M1570.htm, ID: 1570