# HG changeset patch # User Ben Abbott # Date 1205001233 18000 # Node ID fdfc9a766aba5866416320b57d91e79d232d4eda # Parent 85da2ab0c6fd626a891fdcb9185ba2d80f96ca0e variables.cc (exist): Clarify help. diff -r 85da2ab0c6fd -r fdfc9a766aba src/ChangeLog --- a/src/ChangeLog Fri Mar 07 20:17:54 2008 -0500 +++ b/src/ChangeLog Sat Mar 08 13:33:53 2008 -0500 @@ -1,3 +1,8 @@ 2008-03-07 John W. Eaton + + * variables.cc (exist): Modified to improve clarity of the tex-info + description. + 2008-03-07 John W. Eaton * ov-struct.cc (octave_struct::print_raw): Don't print contents fo diff -r 85da2ab0c6fd -r fdfc9a766aba src/variables.cc --- a/src/variables.cc Fri Mar 07 20:17:54 2008 -0500 +++ b/src/variables.cc Sat Mar 08 13:33:53 2008 -0500 @@ -788,8 +788,9 @@ DEFUN (exist, args, , 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\