The listdictionarynames statement returns a list of the names (keys) in a dictionary (see Data Dictionaries).
This statement has two parameters:
dictionary – name of the field or variable that contains the dictionary (must contain binary data).
names – is the name of the field or variable that will receive the list.
The listdictionarynames statement returns a list of the keys in a dictionary collection. For example, suppose you created a dictionary and stored it in variable named mailto.
fileglobal mailto,items mailto=initializedictionary("Address","3987 Olive","City","Tustin","State","CA","Zip","92841")
Later, you could use the listdictionarynames statement to find out what names (keys) had been used in this dictionary:
The result would be a carriage return delimited list of the keys in the items variable.
Address City State Zip
Note: The listdictionarykeys( function performs the same operation, but within a formula.
|10.0||Updated||Carried over from Panorama 6.0, but uses new internal dictionary format|