help-octave
[Top][All Lists]
Advanced

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

Re: How to clear a command line function


From: Jordi Gutiérrez Hermoso
Subject: Re: How to clear a command line function
Date: Wed, 25 Jan 2012 16:58:07 -0500

On 25 January 2012 14:51, Muhali <address@hidden> wrote:
> From my understanding of the corresponding help text, I would 'clear' a
> command line function as follows:
>
> octave> function y = foo(x), y = e^x ; endfunction
> octave> which foo
> `foo' is a command-line function
> octave> clear foo
>
> but that doesn't seem to work:
>
> octave> which foo
> `foo' is a command-line function

This seems like a bug. Kindly open a bug report. There's a FIXME for
it in the sources:

    http://hg.savannah.gnu.org/hgweb/octave/file/37ca58f9a887/src/symtab.h#l656

I'm interested, so I'll get around to it if someone else doesn't beat me to it.

- Jordi G. H.


reply via email to

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