MAPH

MAPH is a CAOS function that returns the height of the game map.

Usage
Syntax: MAPH

This returns an integer which is the total height of the map.

Example
One way to check if the map has already been enlarged when installing a metaroom: doif maph < 100000 mapd mapw 100000 endi doif mapw < 100000 mapd 100000 maph endi In this case, simply using MAPD 100000 100000 is easier, of course.