Arbortext Command Language > Functions by Alphabetical Listing > dcf_option
  
dcf_option
dcf_option (attrname[, doc])
This function returns the value from attributes on the Options element in the document type configuration file (.dcf). The attrname argument is the name of an attribute on the Options element (case is significant). The doc argument is an optional document identifier. The .dcf for the document type associated with doc is used for this function. If doc is not provided or set to zero, the current document is used.
The function returns the value of the given attribute or a null string. A null string is returned in the following cases:
The attribute has no assigned or default value.
The given attribute name is not a valid .dcfOptions element attribute name.
The given document is not a valid document identifier.