In the first one, you are using 2 conditions (Mathematical&&Scoreofchinese) with ONE "if" statement.
In the second one, you're first looking to confirm a first condition (Mathematical) in a if statetement, before confirming the second one (Scoreofchinese) with a second statement.
Same result. You would choose one over the other depending on your need. Be sure to read also about the "||" (OR)
In the first one, you are using 2 conditions (Mathematical&&Scoreofchinese) with ONE "if" statement.
In the second one, you're first looking to confirm a first condition (Mathematical) in a if statetement, before confirming the second one (Scoreofchinese) with a second statement.
Same result. You would choose one over the other depending on your need. Be sure to read also about the "||" (OR)
wow!Programming is really detail-oriented work!If you don't say it, I can't understand it!
Same since Build 600 and Higher. 20 14.02.03
Hello, how should I understand?
Same since Build 600 and Higher. 2014.02.03
How was if(a) if(b) Print("true") ever different from if(a&&b) Print("true") ?
Before Build 600, both 'a' and 'b' are evaluated in 'if(a&&b)' regardless of 'a' being true or false - so if you have 'if(a>0 && b/a>4)', you'll crash when 'a'==0...
wow!Programming is really detail-oriented work!If you don't say it, I can't understand it!
Sure you would have understand after few experimentation.
Before Build 600, both 'a' and 'b' are evaluated in 'if(a&&b)' regardless of 'a' being true or false - so if you have 'if(a>0 && b/a>4)', you'll crash when 'a'==0...
Did you know that from reading the documentation?An experiment?Or somewhere else?
Did you know that from reading the documentation?An experiment?Or somewhere else?
From here: https://docs.mql4.com/mql4changes
- docs.mql4.com
You have a lot of knowledge.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Are these two expressions the same?