help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: possible bug


From: John W. Eaton
Subject: Re: possible bug
Date: Tue, 28 Feb 2006 14:49:03 -0500

On 23-Feb-2006, Bill Denney wrote:

| I personally dislike the fact that matlab doesn't return an error when you 
| use a function name on the LHS of an assignment; it often makes programs 
| significantly harder to debug.  But, this is the way that matlab works, 
| and we can't change it.

It would be possible for Octave to issue a warning if a local variable
shadows a function.  I'm not all that interested in adding this
feature myself, but I would consider a patch.  It should not be too
hard to implement.

jwe



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]