This is an old version of the Octave manual. Find the latest version at: https://docs.octave.org/latest.

Next: , Previous: , Up: Conventions   [Contents][Index]


1.3.3 Printing Notation

Many of the examples in this manual print text when they are evaluated. In this manual the printed text resulting from an example is indicated by ‘-|’. The value that is returned by evaluating the expression is displayed with ‘’ (1 in the next example) and follows on a separate line.

printf ("foo %s\n", "bar")
     -| foo bar
     ⇒ 1