octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #58691] Variables cannot be set in a script ca


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #58691] Variables cannot be set in a script called by a nested function
Date: Fri, 3 Jul 2020 12:45:40 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36 Edg/83.0.478.58

Follow-up Comment #4, bug #58691 (project octave):

I saved the three files in the same folder and see the following in Octave
5.2:

>> script_nest
ans =  5
>> fcn_calls_script
ans =  5


That is what I would expect.

I see the following with Octave 6 (hg id 2de2b2ddd032):

>> script_nest
>> fcn_calls_script
ans = 5


That is not what I would expect.

It was working as expected in Octave 5. It no longer works as expected in
Octave 6.
I'd say this is a regression.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58691>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]