Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
@cc_on Statement

@cc_on Statement

Activates conditional compilation support.



The @cc_on statement activates conditional compilation in the scripting engine.

It is strongly recommended that you use the @cc_on statement in a comment, so that browsers that do not support conditional compilation will accept your script as valid syntax:

// The remainder of the script.

Alternatively, an @if or @set statement outside of a comment also activates conditional compilation.


Version 3

See Also

Conditional Compilation | Conditional Compilation Variables | @if Statement | @set Statement

© 2015 Microsoft