[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53871] Increment with += gives error in .m fi
From: |
Richard Kirk |
Subject: |
[Octave-bug-tracker] [bug #53871] Increment with += gives error in .m file |
Date: |
Thu, 10 May 2018 10:23:07 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 |
Follow-up Comment #2, bug #53871 (project octave):
I have had a look at bug #47676.
I tried re-running my test without setting the 'count' variable...
octave:1> count += 1;
warning: the 'count' function is not yet implemented in Octave
Please read <https://www.octave.org/missing.html> to learn how you can
contribute missing functionality.
error: 'count' undefined near line 1 column 1
octave:1> dummy
warning: the 'count' function is not yet implemented in Octave
Please read <https://www.octave.org/missing.html> to learn how you can
contribute missing functionality.
error: 'count' undefined near line 2 column 1
error: called from
dummy at line 2 column 1
They both react to 'count' being undefined in a similar (though not identical)
way.
If I change 'dummy' to...
count = count + 1;
...then I get the same error message as incrementing 'count' at the octave
prompt. This suggests to me that the interpreter is handling the case where
'count' does not exist sensibly, but is doing something that makes no sense to
me when it does exist. That would put it somewhere between the two bugs for
me, but I am way out of my depth here.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53871>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #53871] Increment with += gives error in .m file, Richard Kirk, 2018/05/10
- [Octave-bug-tracker] [bug #53871] Increment with += gives error in .m file, John W. Eaton, 2018/05/10
- [Octave-bug-tracker] [bug #53871] Increment with += gives error in .m file,
Richard Kirk <=
- [Octave-bug-tracker] [bug #53871] Increment with += gives error in .m file, John W. Eaton, 2018/05/10
- [Octave-bug-tracker] [bug #53871] Increment with += gives error in .m file, John W. Eaton, 2018/05/10
- [Octave-bug-tracker] [bug #53871] Increment with += gives error in .m file, Doug Stewart, 2018/05/10
- [Octave-bug-tracker] [bug #53871] In-place increment of a workspace variable with += in a script issues error, Rik, 2018/05/10
- [Octave-bug-tracker] [bug #53871] In-place increment of a workspace variable with += in a script issues error, Mike Miller, 2018/05/10
- [Octave-bug-tracker] [bug #53871] In-place increment of a workspace variable with += in a script issues error, Mike Miller, 2018/05/10
- [Octave-bug-tracker] [bug #53871] In-place increment of a workspace variable with += in a script issues error, Richard Kirk, 2018/05/11
- [Octave-bug-tracker] [bug #53871] In-place increment of a workspace variable with += in a script issues error, Richard Kirk, 2018/05/12