Hi.
I am wondering if these lines could be removed from pt-plot.cc:
DEFCMD (set, args, nargout,
"-*- texinfo -*-\n\
This command is has been replaced by @code{gset}.")
{
warning ("set is obsolete -- use gset instead");
return Fgset (args, nargout);
}
We are implementing a Handle Graphics functionality to Octave, so the
existence of the builtin set-command is very unfortunate.
I am sending a patch-file, which uncomments these 7 lines of code.
How can I override the other functions like hold, ishold in Octave? I
have octave-forge installed.
Cheers,
Ole J. Hagen
Index: pt-plot.cc
===================================================================
RCS file: /cvs/octave/src/pt-plot.cc,v
retrieving revision 1.141
diff -r1.141 pt-plot.cc
1141,1147c1141,1147
< DEFCMD (set, args, nargout,
< "-*- texinfo -*-\n\
< This command is has been replaced by @code{gset}.")
< {
< warning ("set is obsolete -- use gset instead");
< return Fgset (args, nargout);
< }
---
// DEFCMD (set, args, nargout,
// "-*- texinfo -*-\n\
// This command is has been replaced by @code{gset}.")
// {
// warning ("set is obsolete -- use gset instead");
// return Fgset (args, nargout);
// }