s = key(dictionary_name);
The
key function returns a string containing the key of the case currently loaded in the file referenced by
dictionary_name. A dictionary key is a single string comprised of the IDs for a case. The
key is created using the case's IDs as they existed when the case was last loaded or written..
The function returns a string containing the key. If there has been no previous activity on the file and no key has been established, the key function returns a blank string.
The
key and
currentkey functions will often return the same key string, but when modifications are made to ID values, the
key will not change whereas
currentkey will reflect the modifications. For example: