comparison scripts/miscellaneous/private/__xzip__.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 01ddaedd6ad5
children fd0a3ac60b0e
comparison
equal deleted inserted replaced
11471:994e2a93a8e2 11472:1740012184f9
33 function entries = __xzip__ (commandname, extension, 33 function entries = __xzip__ (commandname, extension,
34 commandtemplate, files, outdir) 34 commandtemplate, files, outdir)
35 35
36 if (nargin == 4 || nargin == 5) 36 if (nargin == 4 || nargin == 5)
37 if (! ischar (extension) || length (extension) == 0) 37 if (! ischar (extension) || length (extension) == 0)
38 error ("__xzip__: extension has to be a string with finite length"); 38 error ("__xzip__: EXTENSION has to be a string with finite length");
39 endif 39 endif
40 40
41 if (nargin == 5 && ! exist (outdir, "dir")) 41 if (nargin == 5 && ! exist (outdir, "dir"))
42 error ("__xzip__: output directory does not exist"); 42 error ("__xzip__: output directory does not exist");
43 endif 43 endif