Private MyMap As Map
' Creates a new map.
MyMap = AddToMap(Array As String("One", "Two", "Three"), Array As String("Une", "Deux", "Trois"), Null)
LogWriteMap(MyMap)
' Adds items to the map
MyMap = AddToMap(Array As String("Four", "Five", "Six"), Array As String("Quatre", "Cinq", "Six"), MyMap)
LogWriteMap(MyMap)
'__________________________________________
Sub LogWriteMap(MapToWrite As Map)
Log(CRLF & "*** Map content:")
For i = 0 To MapToWrite.Size -1
Log(MapToWrite.GetKeyAt(i) & " : " & MapToWrite.GetValueAt(i))
Next
End Sub