Octave style guide: Difference between revisions

m
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
1,072

edits