Sub Button1_Click
counter=counter+1
map1.Put(1, list)
Log(map1)
list1.Clear 'not needed
Log(map1)
Sub1
End Sub
Sub Sub1
Dim list1 As List 'these two lines will create a new list.
list1.Initialize
list1.Add(1)
list1.Add(2)
list1.Add(3)
list1.Add(4)
End Sub
Sub Button1_Click
counter=counter+1
map1.Put(1, list)
Log(map1)
list1.Clear 'not needed
Log(map1)
Sub1
End Sub
Sub Sub1
Dim list1 As List 'these two lines will create a new list.
list1.Initialize
list1.Add(1)
list1.Add(2)
list1.Add(3)
list1.Add(4)
End Sub
When I click GO I need to insert list in map and I can start a reset the list and add new items to list and by cliking GO add news items list to the map . This will appent few or more time.