Comment (computer programming): Difference between revisions

Content deleted Content added
APL: lamp
Fortran: Clarify Fortran support
Line 645:
 
====Fortran====
The following fixed-form [[Fortran IV]] code fragment shows that comment syntax is column-oriented. A letter <code>C</code> in the first column causes the entire line to be treated as a comment. In [[Fortran 77]], an asterisk in column 1 also indicates a comment.
 
<syntaxhighlight lang="fortranfixed">
Line 664:
end program
</syntaxhighlight>
 
Free-form Fortran, also introduced with Fortran 90, only supports this latter style of comment.
 
====MATLAB====