Mercurial > octave-libgccjit
comparison scripts/deprecated/t_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 |
---|---|
32 | 32 |
33 persistent warned = false; | 33 persistent warned = false; |
34 if (! warned) | 34 if (! warned) |
35 warned = true; | 35 warned = true; |
36 warning ("Octave:deprecated-function", | 36 warning ("Octave:deprecated-function", |
37 ["t_cdf is obsolete and will be removed from a future\n", | 37 "t_cdf is obsolete and will be removed from a future version of Octave; please use tcdf instead"); |
38 "version of Octave, please use tcdf instead"]); | |
39 endif | 38 endif |
40 | 39 |
41 cdf = tcdf (varargin{:}); | 40 cdf = tcdf (varargin{:}); |
42 | 41 |
43 endfunction | 42 endfunction |