JavaScript Tutorial/MS JScript/cc on

Материал из Web эксперт
Перейти к: навигация, поиск

@cc_on

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



<html>
    <script language="JScript">
    <!--
    //Set conditional compilation so @_jscript_version variable will be defined.
    @cc_on
    document.write("The JScript version is ",@_jscript_version);
    -->
    </script>
</html>