|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #40938] interaction among eval, anonymous function, and functions |
Date: | Mon, 29 Dec 2014 03:58:52 +0000 |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:34.0) Gecko/20100101 Firefox/34.0 |
Update of bug #40938 (project octave): Priority: 5 - Normal => 1 - Later Status: None => Confirmed _______________________________________________________ Follow-up Comment #1: Confirmed. My guess is that Matlab is treating the anonymous function as a nested function, in which case it has access to the enclosing function's variables. Octave is probably treating this as a subfunction, in which case the scope does not include the caller's variables. This sort of esoteric compatibility is a low priority and I've marked the bug as such. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?40938> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |