[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53838] variable editor displays out of bounds
From: |
Marshall |
Subject: |
[Octave-bug-tracker] [bug #53838] variable editor displays out of bounds error too frequently |
Date: |
Wed, 30 May 2018 11:52:27 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0 |
Follow-up Comment #4, bug #53838 (project octave):
In following up with this, I thought I could add a little bit to example 1
that will perhaps make it more clear on how/when the "error" messages show up
in the console window. With the following modifications, running the following
line by line:
clear a
a.b(1).c = 'string';
a.b(1).e = [1 2 3];
a.b(2).c = 'string';
a.b(2).e = [1 2 3];
openvar a
%openvar a.b(2).e %Manually
a.b(2) = [];
a
1+1
I get the following at the console:
>> clear a
>> a.b(1).c = 'string';
>> a.b(1).e = [1 2 3];
>> a.b(2).c = 'string';
>> a.b(2).e = [1 2 3];
>> openvar a
>> a.b(2) = [];
>> a
error: a(2): out of bound 1
a =
scalar structure containing the fields:
b =
scalar structure containing the fields:
c = string
e =
1 2 3
>> 1+1
error: a(2): out of bound 1
ans = 2
>> error: a(2): out of bound 1
Notice all the "error: a(2): out of bound 1" statements printed at the
console. I notice that similar "out of bound" messages can be seen in the
images referenced in comment 3 as well, so they were obviously happening for
him even though he said he didn't see any of the "out of bound" errors.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53838>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/