Comments with # - Frequently asked questions about Octave (with answers)
Description: Frequently asked questions about Octave (with answers)

Next: Strings delimited by double quotes ", Previous: Functions defined on the command-line, Up: Octave Features

### 5.2 Comments with #

The pound character, ‘`#`’, may be used to start comments, in addition to ‘`%`’. See the previous example. The major advantage of this is that as ‘`#`’ is also a comment character for unix script files, any file that starts with a string like ‘`#! /usr/bin/octave -q`’ will be treated as an octave script and be executed by octave.