It's the same.
Though personally I find more readable to use ().
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
According to https://www.mql5.com/en/docs/basis/operators/return,
we should enclose the value or expression to be returned in parentheses, for example:
But the following does also work:
Is there a subtle difference between return statements with and without parentheses?