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

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

[Octave-bug-tracker] [bug #51962] "A++" assigns to 'ans' while "A += 1"


From: Rik
Subject: [Octave-bug-tracker] [bug #51962] "A++" assigns to 'ans' while "A += 1" and "A = A + 1" do not
Date: Sat, 9 Sep 2017 13:36:38 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #5, bug #51962 (project octave):

Another possibiliy would be to make the ++ and -- operators be syntatic sugar
for += 1 and -= 1.  Currently I believe they are recognized by the parser and
mapped on to their own operators.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51962>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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