'Assign the aMapFrom key/values to aMapDest
'If aMapDest does not have the key, it will be added
'If aMapDest already has the key, the value will be replaced
'If aMapFrom is not initialized, nothing is done.
'If aMapDest is not initialized (and aMapFrom is initialized) then it will be initialized.
public Sub MapAddAll(aMapFrom As Map, aMapDest As Map)
If aMapFrom.IsInitialized Then 'We don't need to do anything if aMapFrom is not initialized
If aMapDest.IsInitialized=False Then 'If aDest
aMapDest.Initialize
End If
For Each locKey As Object In aMapFrom.Keys
aMapDest.Put(locKey, aMapFrom.Get(locKey))
Next
End If
End Sub