QUIT

You can use the QUIT function to stop a map at a specific point during map execution.

The QUIT function logs a successful return code and a custom message in the map audit log.

Syntax:
QUIT (single-text-expression)
Meaning:
QUIT (message_to_return)
Returns:
"None"

The QUIT function returns "none" to the output, stops the map, and logs map return code 41 and the message QUIT function terminated map successfully: message_to_return in the map audit log.

Related functions

  • FAIL
  • LASTERRORCODE
  • LASTERRORMSG
  • VALID