diff doc/interpreter/expr.txi @ 7768:a2d9f325b65a

Use isschar instead of deprecated isstr
author Rafael Laboissiere <rafael@debian.org>
date Sat, 03 May 2008 11:47:54 +0200
parents 5acf21344dff
children 30629059b72d
line wrap: on
line diff
--- a/doc/interpreter/expr.txi	Wed May 07 13:45:30 2008 -0400
+++ b/doc/interpreter/expr.txi	Sat May 03 11:47:54 2008 +0200
@@ -747,7 +747,7 @@
 @example
 @group
 function f (a, b, c)
-  if (nargin > 2 && isstr (c))
+  if (nargin > 2 && ischar (c))
     @dots{}
 @end group
 @end example
@@ -761,7 +761,7 @@
 @group
 function f (a, b, c)
   if (nargin > 2)
-    if (isstr (c))
+    if (ischar (c))
       @dots{}
 @end group
 @end example
@@ -772,7 +772,7 @@
 @example
 @group
 function f (a, b, c)
-  if (nargin > 2 & isstr (c))
+  if (nargin > 2 & ischar (c))
     @dots{}
 @end group
 @end example