Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > b38d2da330d1936e5ab1307c039c4941 > files > 42

octave-doc-3.6.4-3.mga4.noarch.rpm

<html lang="en">
<head>
<title>Comments with # - Frequently asked questions about Octave (with answers)</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Frequently asked questions about Octave (with answers)">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Octave-Features.html#Octave-Features" title="Octave Features">
<link rel="prev" href="Functions-defined-on-the-command_002dline.html#Functions-defined-on-the-command_002dline" title="Functions defined on the command-line">
<link rel="next" href="Strings-delimited-by-double-quotes-_0022.html#Strings-delimited-by-double-quotes-_0022" title="Strings delimited by double quotes &quot;">
<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-with-%23"></a>
<a name="Comments-with-_0023"></a>
<p>
Next:&nbsp;<a rel="next" accesskey="n" href="Strings-delimited-by-double-quotes-_0022.html#Strings-delimited-by-double-quotes-_0022">Strings delimited by double quotes &quot;</a>,
Previous:&nbsp;<a rel="previous" accesskey="p" href="Functions-defined-on-the-command_002dline.html#Functions-defined-on-the-command_002dline">Functions defined on the command-line</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="Octave-Features.html#Octave-Features">Octave Features</a>
<hr>
</div>

<h3 class="section">5.2 Comments with #</h3>

<p>The pound character, &lsquo;<samp><span class="samp">#</span></samp>&rsquo;, may be used to start comments, in
addition to &lsquo;<samp><span class="samp">%</span></samp>&rsquo;. See the previous example. The major advantage of
this is that as &lsquo;<samp><span class="samp">#</span></samp>&rsquo; is also a comment character for unix script
files, any file that starts with a string like &lsquo;<samp><span class="samp">#! /usr/bin/octave
-q</span></samp>&rsquo; will be treated as an octave script and be executed by octave.

   </body></html>