diff src/strfns.cc @ 3361:4f40efa995c1

[project @ 1999-11-19 21:19:37 by jwe]
author jwe
date Fri, 19 Nov 1999 21:19:44 +0000
parents 38de16594cb4
children 9db3ff0b6913
line wrap: on
line diff
--- a/src/strfns.cc	Fri Nov 19 05:15:27 1999 +0000
+++ b/src/strfns.cc	Fri Nov 19 21:19:44 1999 +0000
@@ -36,7 +36,10 @@
 #include "utils.h"
 
 DEFUN (isstr, args, ,
-  "isstr (X): return 1 if X is a string, 0 otherwise")
+  "-*- texinfo -*-\n\
+@deftypefn {Built-in Function} {} isstr (@var{a})\n\
+Return 1 if @var{a} is a string.  Otherwise, return 0.\n\
+@end deftypefn")
 {
   octave_value_list retval;
 
@@ -51,7 +54,19 @@
 }
 
 DEFUN (setstr, args, ,
-  "setstr (V): convert a vector to a string")
+  "-*- texinfo -*-\n\
+@deftypefn {Built-in Function} {} setstr (@var{x})\n\
+Convert a matrix to a string.  Each element of the matrix is converted\n\
+to the corresponding ASCII \n\
+character.  For example,\n\
+\n\
+@example\n\
+@group\n\
+setstr ([97, 98, 99])\n\
+     @result{} "abc"\n\
+@end group\n\
+@end example\n\
+@end deftypefn")
 {
   octave_value_list retval;