octave-maintainers
[Top][All Lists]
Advanced

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

Re: Q: Low hanging fruit?


From: David Bateman
Subject: Re: Q: Low hanging fruit?
Date: Sat, 10 May 2008 02:52:21 +0200
User-agent: Thunderbird 2.0.0.12 (X11/20080306)

John W. Eaton wrote:
> On  8-May-2008, Bill Denney wrote:
> 
> | Out of curiosity, how could a user find them without knowing the 
> | functions are there already?  I can't find those functions with which, 
> | help, or iskeyword.  It seems like they should show up somehow 
> | (especially with help).  I could add them to the help documentation for 
> | keyboard, but that doesn't help too much if they don't have their own 
> | help pages.
> 
> It might now be possible to implement dbstop, dbcont, and dbquit in
> normal Octave functions instead of having the keyboard function do
> something special to handle them.  Then they would automatically show
> up in the help system.  If that's not possible, then we should add the
> documentation for them to the manual itself, or perhaps in separate .m
> files that just contain the doc string.

I'm not sure I see how to do them in normal functions as they have to
quit input.cc (get_user_input) in some manner to continue execution of
the script, so some special handling in get_user_inout is needed in any
case.

Yes they might be added to a list of doc strings, but I felt it made
sense to hace a DEFCMD for them so that its possible for them to appear
   in the tab completion and for them to be callable in from the normal
Octave prompt so that the uninformed user knows about them and that they
can't be called in normal execution mode.

D.




reply via email to

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