IF (something == something) {Print ("this");return (this);} <-- where do i add a Print ("this
Aleksei Beliakov:
IF (something == something) {Print ("this");return (this);} <-- where do i add a Print ("this
I really need yo wrap my head around the brackets.IF (something == something) {Print ("this");return (this);} <-- where do i add a Print ("this
Thanks, works like a charm.
step by step day by day you get it all
Aleksei Beliakov:
step by step day by day you get it all
step by step day by day you get it all
thanks again. now i start to understand the deal with brackets.
also, now i hum the intro song from the TV series "step by step" - no thanks for that.
cheers.
One thing to remember about MQL, it is close in style to C++ (now anyway), and that style of programming relies heavily on brackets to contain bits of code. Some programmers will even bracket one line of code, even though it serves no programming function whatsoever. They do so to make it easier to track visually, and also, if they add code later, to ensure it is already contained where it needs to go.
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
IF (something == something) return (this); <-- where do i add a Print ("this")?
im having trouble adding the print part alongside the return call.
any help?
code: