comparison scripts/deprecated/hypergeometric_inv.m @ 11744:eb0a86b3deb9 release-3-0-x

don't embed newline in warning messages in deprecated functions
author John W. Eaton <jwe@octave.org>
date Wed, 09 Apr 2008 12:57:36 -0400
parents 72830070a17b
children
comparison
equal deleted inserted replaced
11743:c7070f6cadc8 11744:eb0a86b3deb9
35 35
36 persistent warned = false; 36 persistent warned = false;
37 if (! warned) 37 if (! warned)
38 warned = true; 38 warned = true;
39 warning ("Octave:deprecated-function", 39 warning ("Octave:deprecated-function",
40 ["hypergeometric_inv is obsolete and will be removed from a future\n", 40 "hypergeometric_inv is obsolete and will be removed from a future version of Octave; please use hygeinv instead");
41 "version of Octave, please use hygeinv instead"]);
42 endif 41 endif
43 42
44 inv = hygeinv (varargin{:}); 43 inv = hygeinv (varargin{:});
45 44
46 endfunction 45 endfunction