GETMAPCOUNT

Top  Previous  Next

Syntax

INT = GETMAPCOUNT(map as POINTER)

Description

Returns the the total size, in tiles, of the map

Parameters

map - A map pointer created with the NEWMAP function

Return value

The size of the map in tiles. Equivalent to multiplying GETMAPWIDTH * GETMAPHEIGHT.

Remarks

Used internally by map functions.

Example usage

totalsize = GETMAPCOUNT(mymap)