changeset 28580:c871455e20bc

NEW: Note changes in checking the number of function inputs and outputs.
author John W. Eaton <jwe@octave.org>
date Wed, 15 Jul 2020 05:48:37 -0400
parents 713398d4a3c3
children 562902dc1bb6
files NEWS
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Tue Jul 14 16:46:37 2020 -0400
+++ b/NEWS	Wed Jul 15 05:48:37 2020 -0400
@@ -41,6 +41,11 @@
 
 ### Matlab compatibility
 
+- Calling a user-defined function with too many inputs or outputs is now
+an error.  The interpreter makes this check automatically.  If a function
+uses varargin, the check is skipped for function inputs and if a function
+uses varargout, the check is skipped for function outputs.
+
 - The function `griddata` now implements the "v4" Biharmonic Spline
 Interpolation method.  In adddition, the function now accepts 3-D inputs
 by passing the data to `griddata3`.