Skip to content

Latest commit

 

History

History
38 lines (33 loc) · 1.43 KB

File metadata and controls

38 lines (33 loc) · 1.43 KB
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
VS.WebClient.Help.SCRIPT1030
JavaScript
TypeScript
DHTML
59a030b0-a6c6-47f2-b90e-c0ed204d5116
mikejo5000
mikejo
ghogen

Conditional compilation is turned off

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 @*/  

To correct this error

  • Add the following statement to the beginning of your conditional code:

    /*@cc_on @*/  

See also

Conditional Compilation
Conditional Compilation Variables
@cc_on Statement
@if Statement
@set Statement