octave-maintainers
[Top][All Lists]
Advanced

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

Re: Embedding Octave


From: Ian Reinhart Geiser
Subject: Re: Embedding Octave
Date: Thu, 7 Oct 2004 10:07:04 -0400 (EDT)
User-agent: SquirrelMail/1.5.0-1

John W. Eaton said:
> On  6-Oct-2004, Ian Reinhart Geiser <address@hidden> wrote:
>
> | 5) override the input() command to show a dialog box (no clue yet)
> | 6) override the help() command to use KDevelop integrated help system
> (no
> | clue yet)
>
> Instead of overriding the help and input commands, would it be better
> to modify them to call "hook" functions that will allow you to do what
> you need?  It seems bad to replace the functions entirely, because
> then if Octave's input and help functions are modified in the future,
> your function might not do all that is necessary.  You would have to
> track the changes in Octave, and keeping in sync will be problematic.
Could you please elaborate on "hook" functions?  Or are you speaking about
modifying the internal Octave methods to call hooks?  I would be more
interested in a way that will long term work, since I do not wish to
really do anything more than make a wrapper around the current
functionality.

Cheers
   -ian reinhart geiser


-- 



reply via email to

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