Share via


#define (FMerge.exe) (Windows Embedded CE 6.0)

1/5/2010

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.

The following code example shows the syntax for using a DEFINE 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.

    Do not use white space characters 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

Concepts

fMerge Tool