beautypg.com

Undef – AMT Datasouth PAL User Manual

Page 198

background image

undef

192

undef

Description

Removes an entry from a dictionary.

Usage

DictAny KeyAny

undef

DictAny

Dictionary. Specifies the dictionary from which PAL should remove the entry.

KeyAny

Any. Specifies the key within the dictionary of the entry which PAL should
remove.

Comments

PAL permits the selective deletion of entries within dictionaries. Given the dictionary and the key
for an entry within the dictionary, the undef operator will delete the specified entry.

The programmer can use the undef operator in combination with the userdict operator to undefine
objects previously defined using the def operator. See the userdict discussion for details.

PAL does not generate an error if KeyAny does not exist in the specified dictionary.