map_db_nr

Description

Current database used for maps

Old Name

#define _map_dbnr map_db_nr

Syntax

int map_db_nr;

Remarks

The map_db_nr variable holds the database number which holds the mapset currently being used for screen display. It is set by the map_load() function. map_load() loads the mapset determined by the currently active database. This is normally the application database in use but can also be the SYSTEM database.