|
From: | Lars Jahr Røine |
Subject: | Overloading functions |
Date: | Mon, 19 Mar 2012 14:43:33 +0100 |
User-agent: | Roundcube Webmail/0.4.2 |
Hello,I'm trying to replace the built in Octave function patch with my own function patch2, so that patch2 is called when I run scripts that use patch.
I thought I could use dispatch, but I've understood that this should now be done using classes. I am however not sure on how to proceed to write the necessary code. Any help would be appreciated.
Regards Lars Jahr Røine
[Prev in Thread] | Current Thread | [Next in Thread] |