diff NEWS @ 26118:7502fce4cd3a

str2func: eliminate optional second "global" argument * ov-fcn-handle.cc (Fstr2func): Ignore second argument. Don't omit local functions in search. * NEWS: Note change. * fminbnd.m, fminunc.m, fsolve.m, fzero.m: Don't pass "global" to strfunc.
author John W. Eaton <jwe@octave.org>
date Wed, 21 Nov 2018 14:54:22 -0500
parents 36e0e5b428e7
children 4d1c6c60f6b3
line wrap: on
line diff
--- a/NEWS	Fri Nov 16 19:35:39 2018 -0500
+++ b/NEWS	Wed Nov 21 14:54:22 2018 -0500
@@ -107,6 +107,13 @@
  ** It is now possible to use files and folders containing Unicode
     characters in Windows.
 
+ ** The str2func function no longer accepts a second "global" argument.
+    This argument was typically used to allow functions that accept
+    function names as arguments to avoid conflicts with subfunctions or
+    nested functions.  Instead, it's best to avoid this situation
+    entirely and require users to pass function handles rather than
+    function names.
+
  ** New functions added in 5.0:
 
       isfile