changeset 5339:4266ef7972b2

[project @ 2005-05-05 19:06:25 by jwe]
author jwe
date Thu, 05 May 2005 19:06:26 +0000
parents c4b55d47122e
children 15843d76156d
files src/ChangeLog src/help.cc src/ov-usr-fcn.cc
diffstat 3 files changed, 17 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu May 05 17:28:51 2005 +0000
+++ b/src/ChangeLog	Thu May 05 19:06:26 2005 +0000
@@ -1,3 +1,8 @@
+2005-05-05  Keith Goodman  <kwgoodman@gmail.com>
+
+	* ov-usr-fcn.cc	(Fnargout, Fnargin): Update doc strings.
+	* help.cc (keywords): Update doc strings for varargin, varargout.
+
 2005-05-05  John W. Eaton  <jwe@octave.org>
 
 	* oct-stream.cc (BEGIN_S_CONVERSION): Correctly handle width
--- a/src/help.cc	Thu May 05 17:28:51 2005 +0000
+++ b/src/help.cc	Thu May 05 19:06:26 2005 +0000
@@ -137,7 +137,8 @@
     "Addition operator.", },
 
   { "++",
-    "Increment operator.  As in C, may be applied as a prefix or postfix operator.", },
+    "Increment operator.  As in C, may be applied as a prefix or postfix\n\
+operator.", },
 
   { ",",
     "Array index, function argument, or command separator.", },
@@ -146,7 +147,8 @@
     "Subtraction or unary negation operator.", },
 
   { "--",
-    "Decrement operator.  As in C, may be applied as a prefix or postfix operator.", },
+    "Decrement operator.  As in C, may be applied as a prefix or postfix\n\
+operator.", },
 
   { ".'",
     "Matrix transpose operator.  For complex matrices, computes the\n\
@@ -323,10 +325,12 @@
     "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\n\
+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\n\
+varargin, nargin, and nargout.",},
 
   { "while",
     "Begin a while loop.", },
--- a/src/ov-usr-fcn.cc	Thu May 05 17:28:51 2005 +0000
+++ b/src/ov-usr-fcn.cc	Thu May 05 19:06:26 2005 +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\
+@seealso{nargout, 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\
+@seealso{nargin, varargin, and varargout}\n\
 @end deftypefn")
 {
   octave_value retval;