diff NEWS @ 25756:134939b92d86

strmatch.m: Make m-file a legacy function. * NEWS: Announce definition of new class of functions (legacy) and present a list of legacy functions and their replacements. * scripts/legacy/module.mk, scripts/strings/module.mk: Move strmatch.m from strings/ dir to legacy/ dir. * strmatch.m: Added initial warning BIST test to shut off legacy warning when running tests.
author Rik <rik@octave.org>
date Thu, 09 Aug 2018 10:38:54 -0700
parents b1e0e58971f9
children ecdced9fe445
line wrap: on
line diff
--- a/NEWS	Thu Aug 09 09:51:06 2018 -0700
+++ b/NEWS	Thu Aug 09 10:38:54 2018 -0700
@@ -67,6 +67,20 @@
 
       ordeig
 
+ ** Legacy functions.
+
+    The following functions have been declared legacy functions which
+    means they are obsolete and should not be used in any new code.
+    Unlike deprecated functions, however, their removal from Octave has
+    not yet been scheduled.
+
+      Function             | Replacement
+      ---------------------|------------------
+      isequalwithequalnans | isequaln
+      isstr                | ischar
+      setstr               | char
+      strmatch             | strncmp or strcmp
+
  ** Deprecated functions.
 
     The following functions have been deprecated in Octave 5.0 and will