This documentation is archived and is not being maintained.
@cc_on Statement
Visual Studio 2005
Activates conditional compilation support.
@cc_on
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:
/*@cc_on*/ // The remainder of the script.
Alternatively, an @if or @set statement outside of a comment also activates conditional compilation.
Reference
@if...@elif...@else...@end Statement@set Statement
Concepts
Conditional Compilation VariablesOther Resources
Conditional Compilation
Show: