[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56596] Double plus with no space before numbe
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #56596] Double plus with no space before number is legal in Matlab but not Octave |
Date: |
Tue, 9 Jul 2019 13:16:30 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36 |
Update of bug #56596 (project octave):
Status: None => Wont Fix
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
Octave has prefix and postfix operators '++' and '--', which Matlab does not
have. If there is no space between two consecutive '+' or '-' characters, they
are parsed as the single operator '++' or '--'.
Octave recommends using space around all binary operators for readability,
which in this case also semantically distinguishes the '+' operator from the
'++' operator.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56596>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/