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
. The output of this function can be used directly in an execute statement as a series of assignments.
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.
See Also
History
Version | Status | Notes |
1.0 | Updated | Carried over from Panorama 6.0, but uses new internal dictionary format |