View comments | RSS feed

Commenting your code

As in other programming languages, it is important to include comments in your code. You should comment your code for the following reasons:

Comment tag

The ColdFusion comment tag is similar to the HTML comment tag, except that it has three dashes instead of two:

<!--- This is a CFML comment --->

ColdFuions comments can wrap to more than one line. ColdFusion comments are not returned to the browser because the ColdFusion server processes and omits the comments from the page. The user will never be able to read your comments.


ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | KnowledgeBase | Bug Reporting

Version 7

Comments


katdragon said on Dec 19, 2006 at 4:32 AM :
"ColdFuions comments can wrap to more than one line. " should read as "ColdFusion's comments can wrap to more than one line. "

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/coldfusion/7/htmldocs/00000092.htm