Mercurial > hg > octave-lyh
diff scripts/io/textscan.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 | 994e2a93a8e2 |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/scripts/io/textscan.m +++ b/scripts/io/textscan.m @@ -77,7 +77,7 @@ if (ischar (format)) if (ischar (fid)) if (nargout == 2) - error ("textscan: cannot provide postion information for character input") + error ("textscan: cannot provide position information for character input") endif str = fid; else @@ -114,10 +114,10 @@ endif else - error ("textscan: second input must be a format specification"); + error ("textscan: FORMAT must be a valid specification"); endif else - error ("textscan: expecting first argument to be a file id or character string"); + error ("textscan: first argument must be a file id or character string"); endif endfunction