This documentation is archived and is not being maintained.
Conditional Compilation
Visual Studio 2005
Conditional compilation enables JScript to use new language features without sacrificing compatibility with older versions that do not support the features. Some typical uses for conditional compilation include using new features in JScript, embedding debugging support into a script, and tracing code execution.
In This Section
- Conditional Compilation Directives
-
Lists the directives that control how a script is compiled and links to information that explains the proper syntax for each directive.
- Conditional Compilation Statements
-
Lists and discusses the statements that control compilation of a script depending on the values of the conditional compilation variables.
- Conditional Compilation Variables
-
Lists the predefined variables available for conditional compilation.
Related Sections
Show: