August 1999
Intermediate to advanced
1488 pages
72h 53m
English
@_jscript_version
The @_jscript_version variable is used in conditional compilation to hold the JScript version number in major.minor format.
Warning
Before accessing the @_jscript_version variable, use the @cc_on statement to define the variable.
Listing 9.4 uses the @jscript_version variable to display the JScript version that is being used.
<script language="JScript">
<!-- Hide
//Set conditional compilation so @_jscript_version variable will be defined.
@cc_on
//Display the JScript verision number using the @_jscript_version variable
document.write("The JScript version is ",@_jscript_version);
//Hide End -->
</script>
|
Read now
Unlock full access