[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: stupid Matlab-style short-circuit behavior for | and &
From: |
John W. Eaton |
Subject: |
Re: stupid Matlab-style short-circuit behavior for | and & |
Date: |
Fri, 8 Oct 2010 16:36:23 -0400 |
On 8-Oct-2010, Jaroslav Hajek wrote:
| No, apparently I just didn't realize how stupid this is :) Your first
| solution was probably fine.
OK, I checked it in. You can turn the feature on or off with
do_braindead_shortcircuit_evaluation
By default there is a warning at parse time if an & or | expression is
found in the condition of a WHILE of IF statement. You can disable
the warning with
warning off Octave:possible-matlab-short-circuit-operator
If you start Octave with --traditional the feature is enabled and the
warning is disabled.
jwe
- stupid Matlab-style short-circuit behavior for | and &, John W. Eaton, 2010/10/07
- Re: stupid Matlab-style short-circuit behavior for | and &, Søren Hauberg, 2010/10/07
- Re: stupid Matlab-style short-circuit behavior for | and &, CdeMills, 2010/10/07
- Re: stupid Matlab-style short-circuit behavior for | and &, Jaroslav Hajek, 2010/10/07
- Re: stupid Matlab-style short-circuit behavior for | and &, John W. Eaton, 2010/10/07
- Re: stupid Matlab-style short-circuit behavior for | and &, Jaroslav Hajek, 2010/10/07
- Re: stupid Matlab-style short-circuit behavior for | and &, John W. Eaton, 2010/10/07
- Re: stupid Matlab-style short-circuit behavior for | and &, Jaroslav Hajek, 2010/10/08
- Re: stupid Matlab-style short-circuit behavior for | and &,
John W. Eaton <=
- Re: stupid Matlab-style short-circuit behavior for | and &, Søren Hauberg, 2010/10/09
- Re: stupid Matlab-style short-circuit behavior for | and &, Ben Abbott, 2010/10/09
- Re: stupid Matlab-style short-circuit behavior for | and &, John W. Eaton, 2010/10/09
- Re: stupid Matlab-style short-circuit behavior for | and &, Jaroslav Hajek, 2010/10/09
- Re: stupid Matlab-style short-circuit behavior for | and &, Søren Hauberg, 2010/10/09