octave-maintainers
[Top][All Lists]
Advanced

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

"See also" entries for varargin, varargout, nargin, nargout


From: Keith Goodman
Subject: "See also" entries for varargin, varargout, nargin, nargout
Date: Thu, 5 May 2005 11:33:18 -0700

help.cc: Added "see also" entries to the help files of varargin and varargout.
ov-usr-fcn.cc: Added "see also" entries to the help files of nargin and nargout.

Can somebody tell me what the warning message means when I generate the diffs?

$ cvs diff -u src/help.cc src/ov-usr-fcn.cc
cvs: WARNING: Read-only repository access mode selected via `cvs -R'.
Using this option to access a repository which some users write to may
cause intermittent sandbox corruption.

Index: src/help.cc
===================================================================
RCS file: /cvs/octave/src/help.cc,v
retrieving revision 1.134
diff -u -r1.134 help.cc
--- a/src/help.cc       26 Apr 2005 19:24:32 -0000      1.134
+++ b/src/help.cc       5 May 2005 18:12:15 -0000
@@ -323,10 +323,10 @@
     "Begin the cleanup section of an unwind_protect block.", },

   { "varargin",
-    "Pass an arbitrary number of arguments into a function.",},
+    "Pass an arbitrary number of arguments into a function. See also
varargout, nargin, and nargout.",},

   { "varargout",
-    "Pass an arbitrary number of arguments out of a function.",},
+    "Pass an arbitrary number of arguments out of a function. See
also varargin, nargin, and nargout.",},

   { "while",
     "Begin a while loop.", },
Index: src/ov-usr-fcn.cc
===================================================================
RCS file: /cvs/octave/src/ov-usr-fcn.cc,v
retrieving revision 1.62
diff -u -r1.62 ov-usr-fcn.cc
--- a/src/ov-usr-fcn.cc 26 Apr 2005 19:24:33 -0000      1.62
+++ b/src/ov-usr-fcn.cc 5 May 2005 18:12:15 -0000
@@ -600,6 +600,8 @@
 Octave.  If called with the optional argument @var{fcn_name}, return the\n\
 maximum number of arguments the named function can accept, or -1 if the\n\
 function accepts a variable number of arguments.\n\
+\n\
address@hidden, varargin, and varargout.}\n\
 @end deftypefn")
 {
   octave_value retval;
@@ -672,6 +674,8 @@
 @code{f}.\n\
 \n\
 At the top level, @code{nargout} is undefined.\n\
+\n\
address@hidden, varargin, and varargout.}\n\
 @end deftypefn")
 {
   octave_value retval;



reply via email to

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