Mercurial > octave-nkf
comparison scripts/deprecated/uniform_pdf.m @ 11745:df16538e1b93 release-3-0-x
don't embed newline in warning messages in deprecated functions (part 2)
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 09 Apr 2008 13:05:10 -0400 |
parents | 72830070a17b |
children |
comparison
equal
deleted
inserted
replaced
11744:eb0a86b3deb9 | 11745:df16538e1b93 |
---|---|
33 | 33 |
34 persistent warned = false; | 34 persistent warned = false; |
35 if (! warned) | 35 if (! warned) |
36 warned = true; | 36 warned = true; |
37 warning ("Octave:deprecated-function", | 37 warning ("Octave:deprecated-function", |
38 ["uniform_pdf is obsolete and will be removed from a future\n", | 38 "uniform_pdf is obsolete and will be removed from a future version of Octave; please use unifpdf instead"); |
39 "version of Octave, please use unifpdf instead"]); | |
40 endif | 39 endif |
41 | 40 |
42 pdf = unifpdf (varargin{:}); | 41 pdf = unifpdf (varargin{:}); |
43 | 42 |
44 endfunction | 43 endfunction |