The format of DDE reference that enables to get a flag of object value is:

= D_2000|ARCH_FLAGS!blname_N


D_2000 - DDE Server name (required)

FLAGS - requirement for flag of object

blname_N is a string consisting from:

DDE reference returns a string. If the flag is TRUE, the string contains the proper character (A..P). The function IsFlag returns the value of particular flag.

The example of DDE reference is - here.

Archive values
Requirement for particular archive value