map_pause()

Purpose

Displays a map and pauses

Syntax

int map_pause(mapnr)

Parameters

int mapnr

Number of map to display

Description

The function map_pause() displays a map, and waits for any key to be pressed using the function pause, then removes the map. It pauses at the first field in the map.

If the map has no fields, the program terminates with an error message.

If the global variable jump is TRUE, this function does not pause.

If <Esc> is pressed, the global variable abort_code is set to ESCAPE, otherwise it is set to zero.

If you wish to display data in some fields on the map to start with, use the function askf_special().

Return values

Returns the value of the global variable abort_code.

See also

askf_special()