Mercurial > hg > octave-lyh
diff scripts/general/nargchk.m @ 7658:1ce6460aebdf
nargoutchk.m, validatestring.m, addtodate.m: new functions
author | bill@denney.ws |
---|---|
date | Thu, 27 Mar 2008 15:14:10 -0400 |
parents | a1dbe9d80eee |
children | d65b33e55d40 |
line wrap: on
line diff
--- a/scripts/general/nargchk.m +++ b/scripts/general/nargchk.m @@ -25,6 +25,7 @@ ## ## This is useful for checking to see that the number of arguments supplied ## to a function is within an acceptable range. +## @seealso{nargoutchk, error, nargin, nargout} ## @end deftypefn ## Author: jwe @@ -36,7 +37,7 @@ endif if (nargin_min > nargin_max) - error ("nargchk: nargin_min > nargin_max"); + error ("nargchk: nargin_min > nargin_max"); endif if (n < nargin_min)