Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Visual Studio
JScript
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
JScript 8.0 
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.

How to: Compile 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.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker