Mercurial > hg > octave-nkf
comparison scripts/strings/com2str.m @ 3458:d25bc039237b
[project @ 2000-01-19 09:36:14 by jwe]
author | jwe |
---|---|
date | Wed, 19 Jan 2000 09:36:28 +0000 |
parents | e031284eea27 |
children | 7923abdeb4e5 |
comparison
equal
deleted
inserted
replaced
3457:e031284eea27 | 3458:d25bc039237b |
---|---|
39 if (nargin == 1) | 39 if (nargin == 1) |
40 flg = 0; | 40 flg = 0; |
41 endif | 41 endif |
42 | 42 |
43 if (! (is_scalar (zz) && is_scalar (flg))) | 43 if (! (is_scalar (zz) && is_scalar (flg))) |
44 error("com2str: arguments must be a scalar."); | 44 error ("com2str: arguments must be a scalar"); |
45 endif | 45 endif |
46 | 46 |
47 if (flg != 0 && flg != 1) | 47 if (flg != 0 && flg != 1) |
48 error ("invalid flg value: %d", flg); | 48 error ("invalid flg value: %d", flg); |
49 endif | 49 endif |