The dumpdictionaryquoted( function returns a carriage return separated array of dictionary keys and values (see Data Dictionaries). The text values are quoted.
Parameters
This function has one parameter:
dictionary – is the name of the field or variable that contains the dictionary (must contain binary data).
Description
This function returns a carriage return separated array of dictionary keys and values. Each line contains a key=value pair. If the value is text it is quoted (for example Name="Jim"
), but if it is numeric it is not quoted (for example Depth=3
.
This function is part of a suite that manipulates items in a key/value dictionary. This is not a language dictionary for spelling checks, but a dictionary that allows you to define words (names) and their values (definitions).
For example, this formula builds a dictionary and then dumps it.
dumpdictionaryquoted(initializedictionary("Color","Blue","Shape","Oval","Depth",3))
The result of this formula will be:
Color="Blue"
Shape="Oval"
Depth=3
Notice that the depth, which is numeric, is not quoted.
Note: If you want to convert the dictionary values to code that can be used directly in an execute statement as a series of assignments, use the [function_dictionaryassignmentscode(][] function instead. The difference is that if a dictionary key contains a space, the [function_dictionaryassignmentscode(][] function will add the necessary chevron characters needed for proper assignment code.
Other functions that are related to this function are:
See Also
History
Version | Status | Notes |
10.0 | Updated | Carried over from Panorama 6.0, but uses new internal dictionary format |