diff doc/interpreter/func.txi @ 19122:c43223245085

doc: Add warnings about eventual removal of inline functions. * NEWS: Announce eventual deprecation of inline. * func.txi: Document eventual deprecation of inline in manual. * ov-fcn-inline.cc (Fformula): Add seealso link to char.
author Rik <rik@octave.org>
date Sat, 20 Sep 2014 21:45:35 -0700
parents bc640d4678fb
children 0f9c5a15c8fa
line wrap: on
line diff
--- a/doc/interpreter/func.txi	Sat Sep 20 21:20:05 2014 -0700
+++ b/doc/interpreter/func.txi	Sat Sep 20 21:45:35 2014 -0700
@@ -1404,6 +1404,10 @@
 After this it is possible to evaluate @math{f} at any @math{x} by
 writing @code{f(x)}.
 
+@strong{Caution}: @sc{matlab} has begun the process of deprecating inline
+functions.  At some point in the future support will be dropped and eventually
+Octave will follow @sc{matlab} and also remove inline functions.  Use anonymous functions in all new code.
+
 @DOCSTRING(inline)
 
 @DOCSTRING(argnames)