diff src/variables.cc @ 7626:ec78d83a7fde

variables.cc (exist): Clarify help.
author Ben Abbott <bpabbott@mac.com>
date Mon, 24 Mar 2008 12:06:52 -0400
parents 84122fb29c75
children 40c428ea3408
line wrap: on
line diff
--- a/src/variables.cc	Sun Mar 23 11:07:39 2008 -0400
+++ b/src/variables.cc	Mon Mar 24 12:06:52 2008 -0400
@@ -788,8 +788,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\