deletedictionaryvalue
DICTIONARY
,
KEY

The deletedictionaryvalue statement deletes a key/value pair from a dictionary (see Data Dictionaries).


Parameters

This statement has two parameters:

dictionary – name of the field or variable that contains the dictionary (must contain binary data).

key – is the name of the key/value pair to delete. If this parameter is empty (""), all key/value pairs will be removed.


Description

This statement takes the name (key) of an item and deletes the associated key/value pair from the dictionary. This example deletes the Shipping item from the array.

deletedictionaryvalue myDictionary,"Shipping"

There is a function, deletedictionaryvalue(, that can perform the same operation, and can also delete multiple items in a single operation.


See Also


History

VersionStatusNotes
10.0UpdatedCarried over from Panorama 6.0, but uses new internal dictionary format