# HG changeset patch # User Rik # Date 1454218491 28800 # Node ID 5a02590028c6db620608c63a6d42b94f49fef0bd # Parent 4c54a269ad44c0a0465c55199ec17eb9ce1a8ac1 doc: Update docstring for nargin. * ov-usr-fcn.cc (Fnargin): Update docstring. diff -r 4c54a269ad44 -r 5a02590028c6 libinterp/octave-value/ov-usr-fcn.cc --- a/libinterp/octave-value/ov-usr-fcn.cc Sat Jan 30 21:08:13 2016 -0800 +++ b/libinterp/octave-value/ov-usr-fcn.cc Sat Jan 30 21:34:51 2016 -0800 @@ -790,8 +790,9 @@ function. At the top level, return the number of command line arguments\n\ passed to Octave.\n\ \n\ -If called with the optional argument @var{fcn}---a function name or handle---\n\ -return the declared number of arguments that the function can accept.\n\ +If called with the optional argument @var{fcn}---a function name or\n\ +handle---return the declared number of arguments that the function can\n\ +accept.\n\ \n\ If the last argument to @var{fcn} is @var{varargin} the returned value is\n\ negative. For example, the function @code{union} for sets is declared as\n\ @@ -807,7 +808,8 @@ @end group\n\ @end example\n\ \n\ -Programming Note: @code{nargin} does not work on built-in functions.\n\ +Programming Note: @code{nargin} does not work on compiled functions\n\ +(@file{.oct} files) such as built-in or dynamically loaded functions.\n\ @seealso{nargout, narginchk, varargin, inputname}\n\ @end deftypefn") {