clear b;

if ((! 0) || b == 2)
  disp ('Octave short-circuit');
end

if ((! 0) | b == 2)
  disp ('Matlab short-circuit');
end

