' how to use a list||' the number of items is not fixed||' the index of the first item is 0||' adding and removing items will change the size of the list||' a list can be sorted
' declare the list variable||Private lst as List||
' initialize the list||lst.initialize||' or use an array to initialize||lst.initialize2(Array as int(1,2,3))
' add an item||dim val as string = "item 1"||lst.add(val)||' or another variable type||dim val as int = 1||lst.add(val)
' add all elements from an array or list to the new list||dim newlst as list||newlst.initialize||dim lst1 as list||lst1.initialize2(Array as int(1,2,3))||newlst.addall(lst1)||' or using an array directly||newlst.addall(Array as int(1,2,3))
' insert elements of an array or list at a given index||dim newlst as list||newlst.initialize||dim lst1 as list||lst1.initialize2(Array as int(1,2,3))||newlst.addallat(10,lst1)||' or using an array directly||newlst.addallat(10,Array as int(1,2,3))
' insert an item at a given index||dim val as string = "item 1"||lst.insertat(10,val)
' remove an item at a given index||lst.removeat(10)
' get the size of a list||' the last item is at index size -1||lst.size
' get an item from a list||dim lst as list||lst.initialize||' first item||dim val as string = lst.get(0)||' last item||dim val as string = lst.get(lst.size-1)||' using a for loop||for i = 0 to lst.size -1||	val = lst.get(i)||next
