Mercurial > jwe > octave
diff doc/interpreter/expr.txi @ 7031:120f3135952f
[project @ 2007-10-15 15:30:03 by jwe]
author | jwe |
---|---|
date | Mon, 15 Oct 2007 15:31:21 +0000 |
parents | fd42779a8428 |
children | 5acf21344dff |
line wrap: on
line diff
--- a/doc/interpreter/expr.txi Mon Oct 15 13:20:01 2007 +0000 +++ b/doc/interpreter/expr.txi Mon Oct 15 15:31:21 2007 +0000 @@ -943,11 +943,12 @@ not exceed the number of values on the right side. For example, the following will produce an error. -@example +@c Using 'smallexample' to make text fit on page when creating smallbook. +@smallexample [a, b, c, d] = [u, s, v] = svd (a) - @print{} error: element number 4 undefined in return list - error: evaluating assignment expression near line 8, column 15 -@end example +@print{} error: element number 4 undefined in return list +@print{} error: evaluating assignment expression near line 8, column 15 +@end smallexample @opindex += A very common programming pattern is to increment an existing variable