Mercurial > hg > octave-nkf
diff doc/interpreter/expr.txi @ 10308:0d928dd9eeb8
extend parseparams
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Thu, 11 Feb 2010 16:08:03 +0100 |
parents | fa0c28aff439 |
children | fbd7843974fa |
line wrap: on
line diff
--- a/doc/interpreter/expr.txi +++ b/doc/interpreter/expr.txi @@ -826,6 +826,11 @@ arguments because Octave would be forced to try to evaluate both of the operands for the operator @samp{&}. +The ternary operator (?:) is not supported in Octave. If short-circuiting is +not important, it can be replaced by the @code{ifelse} function. + +@DOCSTRING(ifelse) + @node Assignment Ops @section Assignment Expressions @cindex assignment expressions