Share via


#define

All .bib files support preprocessor DEFINE statements. When using DEFINE statements, all instances of that statement are replaced by the value of the statement during a preprocessing phase. The DEFINE statement can be used in an IF statement.

#define variable_name [variable_value]

Parameters

  • variable_name
    The variable can include any characters that are not white space.
  • variable_value
    Any characters can be used, but leading and trailing white space is truncated. White space characters should not be used, unless the entire variable is surrounded by double quotes. If the value is empty, the variable is set to an empty string.

Example Code

The following code example shows how to define variables using this keyword.

#define SISNIC_DISPLAY_NAME "SIS900 Fast Ethernet Adapter"
#define empty_variable
#define my_variable "This will be my new variable"

See Also

fMerge Tool

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.