Definition:
|
string name = dict_name(integer tid=1)
|
Description:
|
Retrieve the diagnostic name associated with the dictionary at creation time. The name of the
common/default dictionary(1) is always "1".
|
Comments:
|
The name is intended purely for diagnostic purposes, although there is nothing to stop code from
using the name to control logic flow depending upon which dictionary it has been passed - eg if
the dictionary name is "customers" or "suppliers" then do something different to get an address,
since typically suppliers don’t have multiple delivery addresses.
|
Example:
|
integer tid = new_dict("test")
?dict_name(tid) -- displays "test"
|
See Also:
|
new_dict
|