[changeset] Re: if 1 | nonsense 'hello', end

Thorsten Meyer thorsten.meyier at gmx.de
Wed Oct 29 16:13:18 CDT 2008


> | 
> | Could Octave's help write something like Matlab's help?
> | Matlab 6.5 help says:
> |                  Short-circuit logical AND         &&
> |                  Short-circuit logical OR          ||
> |     and        - Element-wise logical AND           &
> |     or         - Element-wise logical OR            |
> 
> I'd consider a patch if someone would like to prepare one.
> 
Here is a patch to clarify the documentation strings for &&,&,||,|.

two questions:
 - should the incompatibility to matlab in the short-circuit behaviour
also be documented in the help string for & and |?
 - how much attention do I need to pay not to cite the matlab
documentation literally within the octave help strings (from a legal
point of view)?

regards

Thorsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logical_operators.patch
Type: text/x-patch
Size: 1646 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/bug-octave/attachments/20081029/ba41bb5f/attachment.bin 


More information about the Bug-octave mailing list