diff src/variables.cc @ 4028:ef75c970c8f5

[project @ 2002-08-09 07:19:02 by jwe]
author jwe
date Fri, 09 Aug 2002 07:19:02 +0000
parents 139f5273d0f8
children 63a5613cca00
line wrap: on
line diff
--- a/src/variables.cc
+++ b/src/variables.cc
@@ -324,28 +324,28 @@
   return retval;
 }
 
-DEFUN (is_global, args, ,
+DEFUN (isglobal, args, ,
   "-*- texinfo -*-\n\
-@deftypefn {Built-in Function} {} is_global (@var{name})\n\
+@deftypefn {Built-in Function} {} isglobal (@var{name})\n\
 Return 1 if @var{name} is globally visible.  Otherwise, return 0.  For\n\
 example,\n\
 \n\
 @example\n\
 @group\n\
 global x\n\
-is_global (\"x\")\n\
+isglobal (\"x\")\n\
      @result{} 1\n\
 @end group\n\
 @end example\n\
 @end deftypefn")
 {
-  octave_value_list retval = 0.0;
+  octave_value retval = 0.0;
 
   int nargin = args.length ();
 
   if (nargin != 1)
     {
-      print_usage ("is_global");
+      print_usage ("isglobal");
       return retval;
     }
 
@@ -353,7 +353,7 @@
 
   if (error_state)
     {
-      error ("is_global: expecting std::string argument");
+      error ("isglobal: expecting std::string argument");
       return retval;
     }