[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
evaluation order in matlab/octave
From: |
John W. Eaton |
Subject: |
evaluation order in matlab/octave |
Date: |
Sat, 27 Sep 2008 12:25:29 -0400 |
On 27-Sep-2008, Levente Torok wrote:
| The following expression runs differently on octave than on matlab:
|
| function z = f( par )
| if ( nargin==0 | isempty(par) )
| z=3;
| end
| end
|
| Calling
| f;
| results in differences.
This difference is explained in the FAQ. We have no plans to change
Octave's behavior in this regard.
jwe