Conditional Compilation
This page is specific to:.NET Framework Version:1.12.03.54.0
JScript .NET
Conditional Compilation

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

Writing, Compiling, and Debugging JScript Code
Links to topics that explain how to use the Integrated Development Environment (IDE) to write JScript code.
Compiling JScript Code from the Command Line
Describes how to use the command-line compiler to produce compiled JScript programs.
Detecting Browser Capabilities
Describes how to determine what versions of JScript a Web browser engine supports by using script engine functions and conditional compilation.
JScript Compiler Options
Links to information that lists the compiler options available for the JScript command-line compiler.
© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View