Comment Syntax: Difference between revisions

Jump to navigation Jump to search
39 bytes added ,  1 April 2012
no edit summary
mNo edit summary
No edit summary
Line 12: Line 12:


==D: DOS==
==D: DOS==
DOS Command Code:
DOS Command Code<ref>[http://www.csulb.edu/~murdock/rem.html DOS Command:  REM]</ref>:
<pre>
<pre>
REM [comment]
REM [comment]
Line 38: Line 38:


==P: Perl, PHP==
==P: Perl, PHP==
Perl Code:
Perl Code<ref>[http://www.tizag.com/perlT/perlsyntax.php perl - syntax]</ref>:
<pre>
<pre>
#single line comment
#single line comment
Line 44: Line 44:




PHP Code: '''not viewable''' when user view the HTML source code
PHP Code: '''not viewable''' when user view the HTML source code<ref>[http://www.tizag.com/phpT/comment.php using comments in php]</ref>
<pre>
<pre>
# single line comment
# single line comment
Line 60: Line 60:
</pre>
</pre>


SQL Command / [http://dev.mysql.com/doc/refman/5.0/en/comments.html MySQL Comment Syntax (MySQL 5.0)]:
SQL Command / [http://dev.mysql.com/doc/refman/5.0/en/comments.html MySQL Comment Syntax (MySQL 5.0)]<ref>[http://dev.mysql.com/doc/refman/5.0/en/comments.html MySQL ::  MySQL 5.0 Reference Manual :: 8.6 Comment Syntax]</ref>:
<pre>
<pre>
/* multiple  
/* multiple  
Line 74: Line 74:


==X: XML==
==X: XML==
XML Code:
XML Code<ref>[http://www.tizag.com/xmlTutorial/xmlcomment.php xml comment]</ref>:
<pre>
<pre>
<!--
<!--
Line 83: Line 83:
Reference
Reference
<references/>
<references/>
* [http://dev.mysql.com/doc/refman/5.0/en/comments.html MySQL ::  MySQL 5.0 Reference Manual :: 8.6 Comment Syntax]
* [http://www.csulb.edu/~murdock/rem.html DOS Command:  REM]
* [http://www.tizag.com/phpT/comment.php using comments in php]
* [http://www.tizag.com/perlT/perlsyntax.php perl - syntax]
* [http://www.tizag.com/xmlTutorial/xmlcomment.php xml comment]

Navigation menu