diff scripts/strings/strmatch.m @ 11472:1740012184f9

Use uppercase for variable names in error() strings to match Info documentation. Only m-files done.
author Rik <octave@nomad.inbox5.com>
date Sun, 09 Jan 2011 21:33:04 -0800
parents c776f063fefe
children fd0a3ac60b0e
line wrap: on
line diff
--- a/scripts/strings/strmatch.m	Sun Jan 09 16:01:05 2011 -0800
+++ b/scripts/strings/strmatch.m	Sun Jan 09 21:33:04 2011 -0800
@@ -53,7 +53,7 @@
   endif
 
   if (! ischar (s))
-    error ("strmatch: first argument must be a string");
+    error ("strmatch: S must be a string");
   endif
   
   ## Truncate trailing whitespace.
@@ -87,7 +87,7 @@
       idx = find (match);
     endif
   else
-    error ("strmatch: second argument must be a string or cell array of strings");
+    error ("strmatch: A must be a string or cell array of strings");
   endif
     
 endfunction