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

John W. Eaton jwe at bevo.che.wisc.edu
Thu Oct 30 12:10:32 CDT 2008


On 29-Oct-2008, Thorsten Meyer wrote:

| > | 
| > | 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 &&,&,||,|.

These changes are OK, but I think they will conflict with Søren's
pending changes.  Søren, would you please fold these changes in with
yours?  Or would you prefer that I check them in now, and then you
fix the conflicts in your changeset?

| two questions:
|  - should the incompatibility to matlab in the short-circuit behaviour
| also be documented in the help string for & and |?

I don't think it is necessary to do this in the Octave manual.

|  - 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)?

What do you mean by "cite the matlab documentation literally"?  You
should definitely not be copying (even if you modify the wording) any
Matlab documentation.

jwe



More information about the Bug-octave mailing list