<html lang="en"> <head> <title>Comments - GNU Octave</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="GNU Octave"> <meta name="generator" content="makeinfo 4.13"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up" href="Getting-Started.html#Getting-Started" title="Getting Started"> <link rel="prev" href="Executable-Octave-Programs.html#Executable-Octave-Programs" title="Executable Octave Programs"> <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> <meta http-equiv="Content-Style-Type" content="text/css"> <style type="text/css"><!-- pre.display { font-family:inherit } pre.format { font-family:inherit } pre.smalldisplay { font-family:inherit; font-size:smaller } pre.smallformat { font-family:inherit; font-size:smaller } pre.smallexample { font-size:smaller } pre.smalllisp { font-size:smaller } span.sc { font-variant:small-caps } span.roman { font-family:serif; font-weight:normal; } span.sansserif { font-family:sans-serif; font-weight:normal; } --></style> </head> <body> <div class="node"> <a name="Comments"></a> <p> Previous: <a rel="previous" accesskey="p" href="Executable-Octave-Programs.html#Executable-Octave-Programs">Executable Octave Programs</a>, Up: <a rel="up" accesskey="u" href="Getting-Started.html#Getting-Started">Getting Started</a> <hr> </div> <h3 class="section">2.7 Comments in Octave Programs</h3> <p><a name="index-comments-184"></a><a name="index-use-of-comments-185"></a><a name="index-documenting-Octave-programs-186"></a> A <dfn>comment</dfn> is some text that is included in a program for the sake of human readers, and which is NOT an executable part of the program. Comments can explain what the program does, and how it works. Nearly all programming languages have provisions for comments, because programs are typically hard to understand without them. <ul class="menu"> <li><a accesskey="1" href="Single-Line-Comments.html#Single-Line-Comments">Single Line Comments</a> <li><a accesskey="2" href="Block-Comments.html#Block-Comments">Block Comments</a> <li><a accesskey="3" href="Comments-and-the-Help-System.html#Comments-and-the-Help-System">Comments and the Help System</a> </ul> </body></html>