Blitzbasic mapengine function
error=map_load (name$, passw$ [,check])

Description
This function load map-file with all objects and all images. At first, this function call map_reset() and remove all map-data and map-images from memory. At next it check map-checksum and open map-file (if possible) and load all data.

Use map_draw() to draw a map or map_reset() to remove map.

Parameter
name$=map file name$
passw$=map password
check=checksum (0=no, 1=yes), default=0

Return value
error code:
0=ok
1=file not found
2=file size corrupted
3=no read access
4=not valid file
5=checksum problem
6=password problem
7=load image problem (error code 7 do not free data or images!!!)