|
From: | Guillaume |
Subject: | [Octave-bug-tracker] [bug #54490] Order of evaluation in assignment expression |
Date: | Mon, 13 Aug 2018 10:14:50 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
Follow-up Comment #6, bug #54490 (project octave): I came across something similar in the past and noticed that Matlab changed its behavior. The code below runs fine in Matlab before R2015b and Octave but crashes with any more recent Matlab: function test_order_evaluation global idx; idx = 0; A{idx} = fcn ('foo'); function val = fcn (val) global idx idx = idx + 1; _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?54490> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |