Next: Increment and decrement operators, Previous: Data structures, Up: Octave Features
Octave's ‘&&’ and ‘||’ logical operators are evaluated in a short-circuit fashion (like the corresponding operators in the C language) and work differently than the element by element operators ‘&’ and ‘|’.