13.5 The DESCRIPTION Statement

The DESCRIPTION statement inserts specified text into the application or DLL. This statement is useful for embedding source-control or copyright information into a file.

Syntax

DESCRIPTION 'text'

Remarks

The text is a string of up to 255 characters enclosed in single or double quotation marks (' or "). To include a literal quotation mark in the text, either specify two consecutive quotation marks of the same type or enclose the text with the other type of quotation mark. If a DESCRIPTION statement is not specified, the default text is the name of the main output file as specified in LINK's exefile field. You can view this string by using the Microsoft EXE File Header Utility (EXEHDR).

The DESCRIPTION statement is different from a comment. A comment is a line that begins with a semicolon (;). Comments are not placed in the application or library.

Example

The following example inserts the text Tester's Version, Test "A", including a literal single quotation mark and a pair of literal double quotation marks, into the application or DLL being defined:

DESCRIPTION "Tester's Version, Test ""A"""