[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51698] Nested function fails to inherit a var
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #51698] Nested function fails to inherit a variable |
Date: |
Wed, 9 Aug 2017 01:10:48 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?51698>
Summary: Nested function fails to inherit a variable
Project: GNU Octave
Submitted by: None
Submitted on: Wed 09 Aug 2017 05:10:46 AM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error
Status: None
Assigned to: None
Originator Name: DAVE GOEL
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 4.2.1
Operating System: GNU/Linux
_______________________________________________________
Details:
I'm using 4.2.1 on debian via stretch-backports.
Nested function fails to inherit a variable. Below, _callsub, a nested
function, says that K is unknown.
function testmy();
_setK();
_callsub();
## disp(K) uncommenting this removes the bug!
function _callsub();
disp(K) ## says that K is unknown!
endfunction
endfunction
function _setK();
assignin("caller", "K", 1);
endfunction
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51698>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #51698] Nested function fails to inherit a variable,
anonymous <=
- [Octave-bug-tracker] [bug #51698] Nested function fails to inherit a variable, anonymous, 2017/08/09
- [Octave-bug-tracker] [bug #51698] Nested function fails to inherit a variable, John W. Eaton, 2017/08/09
- [Octave-bug-tracker] [bug #51698] Nested function fails to inherit a variable created with assignin, John W. Eaton, 2017/08/09
- [Octave-bug-tracker] [bug #51698] Nested function fails to inherit a variable created with assignin, John W. Eaton, 2017/08/09
- [Octave-bug-tracker] [bug #51698] Nested function fails to inherit a variable created with assignin, anonymous, 2017/08/09
- [Octave-bug-tracker] [bug #51698] Nested function fails to inherit a variable created with assignin, John W. Eaton, 2017/08/09
- [Octave-bug-tracker] [bug #51698] Nested function fails to inherit a variable created with assignin, anonymous, 2017/08/09
- [Octave-bug-tracker] [bug #51698] Nested function fails to inherit a variable created with assignin, anonymous, 2017/08/09
- [Octave-bug-tracker] [bug #51698] Nested function fails to inherit a variable created with assignin, John W. Eaton, 2017/08/09
- [Octave-bug-tracker] [bug #51698] Nested function fails to inherit a variable created with assignin, anonymous, 2017/08/09