globaldictionarykeys(
DICTIONARYNAME
)

The globaldictionarykeys( function returns a cr()-separated array containing the keys in a global dictionary, or the names of all global dictionaries.


Parameters

This function has one parameter:

dictionaryname – name of the global dictionary (must have been previously set up with the setglobaldictionaryvalues statement). If this parameter is omitted, the function returns the names of all global dictionaries.


Description

This function lists the keys in a global dictionary, or the names of all global dictionaries.

To get an array of all the global dictionaries that currently exist, use the globaldictionarykeys( function. If this function is used with no parameters, it will list all of the dictionaries.

globaldictionarykeys() ☞ cr()-separated array of all global dictionaries

If you supply one parameter, it will list all of the values in the specified dictionary. Please note that the values may be listed in any order, you cannot control the order.

commalist(globaldictionarykeys("Order"),cr()) ☞ Name, Color and Size

See Global Dictionaries for an extended discussion of how this function can be used.


See Also


History

VersionStatusNotes
10.2NewNew in this version.