[Top][All Lists]

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

clear in functions

From: John W. Eaton
Subject: clear in functions
Date: Mon, 23 Apr 2007 15:15:48 -0400

On 21-Apr-2007, Kim Hansen wrote:

| Hi all,
| I just read in the help text for clear that:
|      This command may not be used within a function body.
| I have been using clear in my functions in order to make it easier to
| detect bugs, and I have not seen it cause any problems.  What is the
| problem with using clear inside functions?

I think it is OK to use clear inside a function body now and that it
only caused trouble in very old versions of Octave.  I removed that
line from the doc string.



reply via email to

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