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

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

[Octave-bug-tracker] [bug #60882] error parsing command syntax


From: anonymous
Subject: [Octave-bug-tracker] [bug #60882] error parsing command syntax
Date: Mon, 19 Jul 2021 14:32:48 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:90.0) Gecko/20100101 Firefox/90.0

Follow-up Comment #18, bug #60882 (project octave):

Request: please do continue to allow spaces in "x += 1" and "x -= 1"
statements. I use those constructions 493 + 138 == 631 times in my code alone,
not counting other people's code.

Question: the following test gives an error in one case but not another. Is
that intended?

octave:4> x = y = 0; x = y ++, x, y
x = 0
x = 0
y = 1
octave:5> x = y = 0; x ++
error: x used as variable and later as function



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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