beautypg.com

Known – AMT Datasouth PAL User Manual

Page 129

background image

123

known

known

Description

Determines whether or not a given key exists within a given dictionary.

Usage

AnyDict KeyAny

known

Bool

AnyDict

Dictionary. Dictionary object to search for KeyAny.

KeyAny

Any. Key object for which to search in AnyDict.

Bool

Boolean. A value of true indicates that PAL found KeyAny within AnyDict. A
value of false indicates that PAL did not find KeyAny within AnyDict.

Comments

The get operator generates an error if the specified key object does not exist within the specified
dictionary. If the programmer does not already know that a key exists within a given dictionary, the
programmer should test for the key using the known operator before using the get operator.