comparison scripts/deprecated/lognormal_cdf.m @ 7704:1cdb42b372e8

don't embed newline in warning messages in deprecated functions
author John W. Eaton <jwe@octave.org>
date Wed, 09 Apr 2008 12:56:48 -0400
parents 0a362fa8f3c8
children eb63fbe60fab
comparison
equal deleted inserted replaced
7703:e44e4cd2129d 7704:1cdb42b372e8
36 36
37 persistent warned = false; 37 persistent warned = false;
38 if (! warned) 38 if (! warned)
39 warned = true; 39 warned = true;
40 warning ("Octave:deprecated-function", 40 warning ("Octave:deprecated-function",
41 ["lognormal_cdf is obsolete and will be removed from a future\n", 41 "lognormal_cdf is obsolete and will be removed from a future version of Octave; please use logncdf instead");
42 "version of Octave, please use logncdf instead"]);
43 endif 42 endif
44 43
45 if (nargin > 1) 44 if (nargin > 1)
46 a = varargin{2}; 45 a = varargin{2};
47 idx = a >= 0; 46 idx = a >= 0;