Mercurial > octave
diff doc/interpreter/oop.txi @ 28652:bb0ca2753bc2 stable
update docs for built-in variables (bug #58988)
* basics.txi, expr.txi, io.txi, numbers.txi, oop.txi, var.txi: Refer
to functions, not built-in variables. Update docs for ans. Correct
output of simple expression like "pi" to display "ans =" rather than
"pi =".
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 26 Aug 2020 13:27:48 -0400 |
parents | 2f847e3e8d6b |
children | 796f54d4ddbf |
line wrap: on
line diff
--- a/doc/interpreter/oop.txi Wed Aug 26 13:26:26 2020 -0400 +++ b/doc/interpreter/oop.txi Wed Aug 26 13:27:48 2020 -0400 @@ -381,9 +381,10 @@ subsasgn will not do anything, however, only indexed assignments matter. Since this optimization may change the way code works (especially if badly -written), a built-in variable @code{optimize_subsasgn_calls} is provided to -control it. It is on by default. Another way to avoid the optimization is to -declare subsasgn methods with different output and input arguments like this: +written), a function @code{optimize_subsasgn_calls} is provided to +control it. This feature is enabled by default. Another way to avoid +the optimization is to declare subsasgn methods with different output +and input arguments like this: @example @group