help-octave
[Top][All Lists]
Advanced

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

Re: overriding builtin functions


From: Stefan van der Walt
Subject: Re: overriding builtin functions
Date: Fri, 16 Sep 2005 12:45:45 +0200
User-agent: Mutt/1.5.6+20040907i

Hi Brian

On Fri, Sep 16, 2005 at 06:23:54AM -0400, Brian Blais wrote:
> I seem to recall there was a way to override the builtin functions.  I 
> need to use a different "input" function (and can't change the code 
> which is calling "input").  Is there a way to do this?

Use the `dispatch' function, e.g.

dispatch('input', 'my_input', 'any')

Regards
Stéfan



-------------------------------------------------------------
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]