Mercurial > hg > octave-lojdl
changeset 5393:c8783205a7c6
[project @ 2005-06-15 17:03:54 by jwe]
author | jwe |
---|---|
date | Wed, 15 Jun 2005 17:03:55 +0000 |
parents | 017e427ab4d9 |
children | 256dde4f6aea |
files | scripts/ChangeLog scripts/general/isequal.m src/help.cc |
diffstat | 3 files changed, 13 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2005-06-15 Tom Holroyd <tomh@kurage.nimh.nih.gov> + + * general/isequal.m: Correct nargin check. + 2005-06-14 John W. Eaton <jwe@octave.org> * general/isvector.m: Handle N-d arrays.
--- a/scripts/general/isequal.m +++ b/scripts/general/isequal.m @@ -28,7 +28,7 @@ function t = isequal (x, varargin) - if (nargin != 2) + if (nargin < 2) usage ("isequal (x, y, ...)"); endif
--- a/src/help.cc +++ b/src/help.cc @@ -292,7 +292,14 @@ "Produce 3-D plots using gnuplot-like command syntax.", }, { "if", - "Begin an if block.", }, + "-*- texinfo -*-\n\ +@deffn Keyword if (@var{cond}) @dots{} endif\n\ +@deffnx Keyword if (@var{cond}) @dots{} else @dots{} endif\n\ +@deffnx Keyword if (@var{cond}) @dots{} elseif (@var{cond}) @dots{} endif\n\ +@deffnx Keyword if (@var{cond}) @dots{} elseif (@var{cond}) @dots{} else @dots{} endif\n\ +Begin an if block.\n\ +@end deffn\n\ +@seealso{switch}", }, { "otherwise", "The default statement in a switch block.", },