Mercurial > hg > octave-nkf
diff src/variables.cc @ 11711:7a4efac7e476 release-3-0-x
variables.cc (exist): Clarify help.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Mon, 24 Mar 2008 12:06:52 -0400 |
parents | 1b01b40886eb |
children | 72830070a17b |
line wrap: on
line diff
--- a/src/variables.cc +++ b/src/variables.cc @@ -906,8 +906,9 @@ DEFUN (exist, args, , "-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} exist (@var{name}, @var{type})\n\ -Return 1 if the name exists as a variable, 2 if the name (after\n\ -appending @samp{.m}) is a function file in Octave's @code{path}, 3 if the\n\ +Return 1 if the name exists as a variable, 2 if the name is an\n\ +absolute file name, an ordinary file in Octave's @code{path}, or (after\n\ +appending @samp{.m}) a function file in Octave's @code{path}, 3 if the\n\ name is a @samp{.oct} or @samp{.mex} file in Octave's @code{path},\n\ 5 if the name is a built-in function, 7 if the name is a directory, or 103\n\ if the name is a function not associated with a file (entered on\n\