Operators and Keywords

Function List:

C++ API File Reference

#include "error.h"
#include "defun.h"
#include "oct-obj.h"
#include "ov.h"
#include "pt-binop.h"
#include "pt-bp.h"
#include "pt-walk.h"
#include "variables.h"
Include dependency graph for


 DEFUN (do_braindead_shortcircuit_evaluation, args, nargout,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {@var{val} =} do_braindead_shortcircuit_evaluation ()\n\ @deftypefnx {Built-in Function} {@var{old_val} =} do_braindead_shortcircuit_evaluation (@var{new_val})\n\ Query or set the internal variable that controls whether Octave will\n\ do short-circuit evaluation of @samp{|} and @samp{&} operators inside the\n\ conditions of if or while statements.\n\ \n\ This feature is only provided for compatibility with @sc{matlab} and should\n\ not be used unless you are porting old code that relies on this feature.\n\ \n\ To obtain short-circuit behavior for logical expressions in new programs,\n\ you should always use the @samp{&&} and @samp{||} operators.\n\ @end deftypefn")

Function Documentation

DEFUN ( do_braindead_shortcircuit_evaluation  ,
args  ,
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines