AST_MAPHASKEY

Check if an entry with a given key exists in a KeyMap

Description:

This function returns a flag indicating if the KeyMap contains an entry with the given key.

Invocation

RESULT = AST_MAPHASKEY( THIS, KEY, STATUS )

Arguments

THIS = INTEGER (Given)
Pointer to the KeyMap.
KEY = CHARACTER ( ) (Given)
The character string identifying the KeyMap entry. Trailing spaces are ignored. The supplied string is converted to upper case before use if the KeyCase attribute is currently set to zero.
STATUS = INTEGER (Given and Returned)
The global status.

Returned Value

AST_MAPHASKEY = LOGICAL
.TRUE. if the key was found, and .FALSE. otherwise.

Notes: