Microsoft® JScript Comment Statements |
Language Reference Version 1 |
Causes comments to be ignored by the JScript parser.
Single-line Comment:
// comment
Multiline Comment:
/*
comment
*/The comment argument is the text of any comment you want to include in your script.
//@CondStatement
/*@
CondStatement
@*/The CondStatement argument is conditional compilation code to be used if conditional compilation is activated. If Syntax 3 is used, there can be no space between the "//" and "@" characters.
Use comments to keep parts of a script from being read by the JScript parser. You can use comments to include explanatory remarks in a program.If Syntax 1 is used, the parser ignores any text between the comment marker and the end of the line. If Syntax 2 is used, it ignores any text between the beginning and end markers.
Syntaxes 3 and 4 are used to support conditional compilation while retaining compatibility with browsers that do not support that feature. These browsers treat those forms of comments as syntaxes 1 and 2 respectively.
© 1997 by Microsoft Corporation. All rights reserved.
file: /Techref/inet/iis/jscript/htm/js744.htm, 2KB, , updated: 1997/9/30 04:45, local time: 2024/10/7 16:17,
35.171.164.77:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://ecomorder.com/techref/inet/iis/jscript/htm/js744.htm"> Comment Statements</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.