octave-maintainers
[Top][All Lists]
Advanced

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

Re: Overloading built-in function?


From: Shai Ayal
Subject: Re: Overloading built-in function?
Date: Wed, 18 Apr 2007 18:53:50 +0300

use "dispatch"

Shai

On 4/18/07, Michael Goffioul <address@hidden> wrote:
On 4/18/07, John W. Eaton <address@hidden> wrote:
> On 18-Apr-2007, Michael Goffioul wrote:
>
> | I just updated my local CVS and it seems I can't overload anymore a built-in
> | function with a M-file in the current directory. I have a function "get.m" 
in my
> | current dir, but when I call "get", octave uses the built-in version.
>
> That has always been true with Octave for functions that are actually
> built-in to the interpreter.

Is there a workaround for this? The code I'm working on implements its
own get/set methods (java-based). The inability to overload them is quite
annoying.

Michael.



reply via email to

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