# HG changeset patch # User jwe # Date 1115319986 0 # Node ID 4266ef7972b27ff7d502d3225fd6f378ad94bc87 # Parent c4b55d47122e9591160dc1d711a06150640a2086 [project @ 2005-05-05 19:06:25 by jwe] diff -r c4b55d47122e -r 4266ef7972b2 src/ChangeLog --- 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 + + * ov-usr-fcn.cc (Fnargout, Fnargin): Update doc strings. + * help.cc (keywords): Update doc strings for varargin, varargout. + 2005-05-05 John W. Eaton * oct-stream.cc (BEGIN_S_CONVERSION): Correctly handle width diff -r c4b55d47122e -r 4266ef7972b2 src/help.cc --- 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.", }, diff -r c4b55d47122e -r 4266ef7972b2 src/ov-usr-fcn.cc --- 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;