Thank you Ken. It’s good to know that.
The current behaviour is still undesirable, though, for two reasons:
- if my operation is a subtraction instead of an addition (i.e., use a 'minus" sign instead of a plus sign) and I put no parentheses, the value is correctly set to the difference between the two numbers.
- my beloved formatter (sorry for editorializing) does not allow me to put parentheses in the expression. This means that I need to know that this s/b the case and do it in the code editor later.
One could argue that the plus sign is overloaded and that its use as string concatenation takes precedence over its use as algebraic addition whereas the minus sign does not have that problem because it is not overloaded. To avoid getting into a debate over how a language should represent its many operations, I would suggest that Wappler puts a string concatenation function elsewhere, and not in the Operation menu.
This brings me once again to my old rant about the formatter, and the functions bundled under Operations. I already suggested enhancements to the Formatter here and more specifically in point 6 here, more than a year ago – but there has been no traction with any.
Thank you again,