Mercurial > jwe > octave
changeset 20745:c4f79fc9281a
doc: Resolve two undocumented functions in manual.
* mk_undocumented_list: Add metaclass to list of functions not requiring
documentation.
* expr.txi: Add do_braindead_shortcircuit_evaluation to manual.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 24 Nov 2015 11:10:16 -0800 |
parents | 554a39b4dd2d |
children | 69aeef6736df |
files | doc/interpreter/doccheck/mk_undocumented_list doc/interpreter/expr.txi |
diffstat | 2 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/interpreter/doccheck/mk_undocumented_list Mon Nov 23 23:37:33 2015 -0500 +++ b/doc/interpreter/doccheck/mk_undocumented_list Tue Nov 24 11:10:16 2015 -0800 @@ -107,6 +107,7 @@ java2mat lower lstat +metaclass nan nargchk octave_tmp_file_name
--- a/doc/interpreter/expr.txi Mon Nov 23 23:37:33 2015 -0500 +++ b/doc/interpreter/expr.txi Tue Nov 24 11:10:16 2015 -0800 @@ -1014,6 +1014,8 @@ strongly discouraged. Instead, you should use the @samp{&&} and @samp{||} operators that always have short-circuit behavior. +@DOCSTRING(do_braindead_shortcircuit_evaluation) + Finally, the ternary operator (?:) is not supported in Octave. If short-circuiting is not important, it can be replaced by the @code{ifelse} function.