Mercurial > hg > octave-terminal
changeset 7626:ec78d83a7fde
variables.cc (exist): Clarify help.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Mon, 24 Mar 2008 12:06:52 -0400 |
parents | 43e3efb2cbc2 |
children | 0483fad1d888 |
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 @@ -142,6 +142,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 @@ -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\