changeset 1564:0104de09d365

[project @ 1995-10-17 00:03:44 by jwe]
author jwe
date Tue, 17 Oct 1995 00:03:44 +0000
parents 562fed28ce22
children ee3bfe928671
files src/variables.cc
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/variables.cc	Sun Oct 15 03:29:14 1995 +0000
+++ b/src/variables.cc	Tue Oct 17 00:03:44 1995 +0000
@@ -189,8 +189,13 @@
 DEFUN ("exist", Fexist, Sexist, 10,
   "exist (NAME): check if variable or file exists\n\
 \n\
-return 0 if NAME is undefined, 1 if it is a variable, or 2 if it is\n\
-a function.")
+returns:\n\
+\n\
+   0 : NAME is undefined\n\
+   1 : NAME is a variable\n\
+   2 : NAME is a function\n\
+   3 : NAME is a .oct file in the current LOADPATH\n\
+   5 : NAME is a built-in function")
 {
   Octave_object retval;