Mercurial > hg > octave-nkf
comparison scripts/image/imread.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 | 3140cb7a05a1 |
children | fd0a3ac60b0e |
comparison
equal
deleted
inserted
replaced
11471:994e2a93a8e2 | 11472:1740012184f9 |
---|---|
40 if (nargin < 1) | 40 if (nargin < 1) |
41 print_usage (); | 41 print_usage (); |
42 endif | 42 endif |
43 | 43 |
44 if (! ischar (filename)) | 44 if (! ischar (filename)) |
45 error ("imread: filename must be a string"); | 45 error ("imread: FILENAME must be a string"); |
46 endif | 46 endif |
47 | 47 |
48 filename = tilde_expand (filename); | 48 filename = tilde_expand (filename); |
49 | 49 |
50 fn = file_in_path (IMAGE_PATH, filename); | 50 fn = file_in_path (IMAGE_PATH, filename); |