getName()

Retrieves the name of the current map.

Syntax

String getName()
 

Parameters

None.

Return values

None.

Exceptions

None.

Examples

The following example obtains the name of the current map and logs an informational message:

String mapName = getName(); 
 logInfo(mapName + " is starting");
 

Copyright IBM Corp. 2003