Mercurial > octave
comparison scripts/miscellaneous/unpack.m @ 22760:c4d80b9d2898
maint: Capitalize variable names appearing in error() messages of m-files.
* scripts/audio/@audioplayer/get.m, scripts/audio/@audiorecorder/get.m,
interp1.m, narginchk.m, nargoutchk.m, randi.m, __fltk_file_filter__.m,
imshow.m, rgbplot.m, javachk.m, usejava.m, condest.m, unpack.m, pqpnonneg.m,
savepath.m, default_prefix.m, get_forge_download.m, get_forge_pkg.m,
installed_packages.m, annotation.m, daspect.m, pbaspect.m, isocaps.m, pan.m,
printd.m, __gnuplot_draw_axes__.m, rotate.m, rotate3d.m, zoom.m, splinefit.m,
addpref.m, getpref.m, rmpref.m, eigs.m, normrnd.m, t_test_regression.m:
Capitalize variable names appearing in error() messages.
author | Rik <rik@octave.org> |
---|---|
date | Mon, 14 Nov 2016 12:12:02 -0800 |
parents | 3a2b891d0b33 |
children | 01aae08a0105 |
comparison
equal
deleted
inserted
replaced
22759:39f39eb4e476 | 22760:c4d80b9d2898 |
---|---|
88 if (numel (file) == 1) | 88 if (numel (file) == 1) |
89 if (isempty (strfind (file{1}, "://"))) | 89 if (isempty (strfind (file{1}, "://"))) |
90 ## FIXME: The above code is not a perfect test for a URL | 90 ## FIXME: The above code is not a perfect test for a URL |
91 gfile = glob (file); | 91 gfile = glob (file); |
92 if (isempty (gfile)) | 92 if (isempty (gfile)) |
93 error ('unpack: file "%s" not found', file{1}); | 93 error ('unpack: FILE "%s" not found', file{1}); |
94 else | 94 else |
95 file = gfile; | 95 file = gfile; |
96 endif | 96 endif |
97 endif | 97 endif |
98 endif | 98 endif |