[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62552] In-place operator spacing works for 'i
From: |
Nicholas Jankowski |
Subject: |
[Octave-bug-tracker] [bug #62552] In-place operator spacing works for 'i' and 'j', but not other variable names |
Date: |
Mon, 19 Dec 2022 12:04:40 -0500 (EST) |
Follow-up Comment #48, bug #62552 (project octave):
changed the following sections as
https://hg.savannah.gnu.org/hgweb/octave/rev/e3b0fac6acde
I think it better attributes the ambiguity and is consistent with how the doc
addresses other potential ambiguities:
func.txt:
It should be noted that mixing command syntax and binary operators can create
apparent ambiguities with mathematical and logical expressions that use
function syntax. For example, all three of the statements
@example
arg1 - arg2
arg1 -arg2
arg1-arg2
@end example
@noindent
could be intended by a user to be subtraction operations between @code{arg1}
and @code{arg2}. The first two, however, could also have been meant as a
command syntax call to function @code{arg1}, in the first case with options
@code{-} and @code{arg2}, and in the second case with option @code{-arg2}.
expr.txi:
Note also that some combinations of binary operators and whitespace can create
apparent ambiguities with the Command Syntax form of calling functions. See
@ref{Command Syntax and Function Syntax} for a description of how Octave
treats that syntax.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62552>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/