# HG changeset patch # User Ben Abbott # Date 1206374812 14400 # Node ID 7a4efac7e47603647f0c1804138d4d4ad3baf911 # Parent a8f372f6c5a77ded1ad001bed7a986f79d70f833 variables.cc (exist): Clarify help. diff -r a8f372f6c5a7 -r 7a4efac7e476 doc/interpreter/contributors.in --- a/doc/interpreter/contributors.in Sun Mar 23 11:22:58 2008 -0400 +++ b/doc/interpreter/contributors.in Mon Mar 24 12:06:52 2008 -0400 @@ -140,6 +140,7 @@ Gabriele Pannocchia Sylvain Pelissier Per Persson +Primozz Peterlin Jim Peterson Danilo Piazzalunga Nicholas Piper diff -r a8f372f6c5a7 -r 7a4efac7e476 src/ChangeLog --- a/src/ChangeLog Sun Mar 23 11:22:58 2008 -0400 +++ b/src/ChangeLog Mon Mar 24 12:06:52 2008 -0400 @@ -1,3 +1,7 @@ +2008-03-08 Primozz Peterlin + + * variables.cc (Fexist): Doc fix. + 2008-03-23 David Bateman * OPERATORS/op-int.h: Add el_div and el_ldiv operators to the diff -r a8f372f6c5a7 -r 7a4efac7e476 src/variables.cc --- a/src/variables.cc Sun Mar 23 11:22:58 2008 -0400 +++ b/src/variables.cc Mon Mar 24 12:06:52 2008 -0400 @@ -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\