Octave style guide: Difference between revisions

Jump to navigation Jump to search
m (Remove recommendation for fixed line length)
Line 95: Line 95:


<pre>error ("my_cool_function: input A must be a matrix");</pre>
<pre>error ("my_cool_function: input A must be a matrix");</pre>
Because the function call to `error` is one code unit, prefer keeping the message on one line even if the message itself is long.


Octave has several functions that produce error messages according
Octave has several functions that produce error messages according