changeset 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 a8f372f6c5a7
children d3ee6e346a6b
files doc/interpreter/contributors.in src/ChangeLog src/variables.cc
diffstat 3 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/contributors.in
+++ b/doc/interpreter/contributors.in
@@ -140,6 +140,7 @@
 Gabriele Pannocchia
 Sylvain Pelissier
 Per Persson
+Primozz Peterlin
 Jim Peterson
 Danilo Piazzalunga
 Nicholas Piper
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2008-03-08  Primozz Peterlin  <primozz.peterlin@gmail.com>
+
+	* variables.cc (Fexist): Doc fix.
+
 2008-03-23  David Bateman  <dbateman@free.fr>
 
 	* OPERATORS/op-int.h: Add el_div and el_ldiv operators to the
--- 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\