LoadMemory

This method processes the map code (CompiledMap) if it has not been previously processed. LoadMemory then creates and populates the hierarchy of map, card, and adapter objects.

If the map has already been read, and is stored in the map cache, a subsequent call to LoadMemory creates another instance of the map. The Identifier is used to identify the specific map; this might be the name of the map or any other identifier that the application will use.

Subsequent calls to this method with the same identifier will not introduce additional processing of the compiled map. Therefore, after the initial call to LoadMemory, the memory consumed by CompiledMap can be freed.