| title | ms.date | ms.prod | ms.technology | ms.topic | f1_keywords | dev_langs | ms.assetid | author | ms.author | manager | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Conditional compilation is turned off | Microsoft Docs |
01/18/2017 |
visual-studio-windows |
vs-javascript |
error-reference |
|
|
59a030b0-a6c6-47f2-b90e-c0ed204d5116 |
mikejo5000 |
mikejo |
ghogen |
You attempted to use a conditional compilation variable without first turning conditional compilation on. Turning on conditional compilation tells the [!INCLUDEjavascript] compiler to interpret identifiers beginning with @ as conditional compilation variables. You do this by beginning your conditional code with the statement:
/*@cc_on @*/ -
Add the following statement to the beginning of your conditional code:
/*@cc_on @*/
Conditional Compilation
Conditional Compilation Variables
@cc_on Statement
@if Statement
@set Statement