House of Fusion
Home of the ColdFusion Community
Hostmysite VPS Hosting
Subscribe Now
Fusion Authority Quarterly Update - ColdFusion 8 Special Edition

For ColdFusion hosting try HostMySite.com.
Search over 2,500 ColdFusion resources here  >>>      

CFSCRIPT: Comments

2Comments
2.1There are two types of comments in CFSCRIPT:
     Single line
     Multi line
2.2 Single line comments allow you to set special characters and all text after the characters is considered a comment and will not be processed. These characters are a double forward slash (//). The comment is considered to end once the line is finished (a new line character).
<CFSCRIPT>
     // Comment here
</CFSCRIPT>
2.3 Multi-line comments allow special characters to be set before and after one or more lines of code to cause them to be considered comments. These special characters are the forward slash followed by a asterisk (/*) to start the comment and an asterisk followed by a forward slash (*/) to end it. If a multi-line comment is not closed an error will be thrown.
<CFSCRIPT>
     /*
          this is the first line of the comment
          this is another
     */
</CFSCRIPT>


User Contributed Notes


Add a Note


CFScript