Birkimson Varzxorani:
hey guys, i could not find my answer in doc.
what if we have 2 things to do when the condition has met?
for example:
if (x>Y)
Print (x) && x++;
this gives me error.
i mean if the condition is true do both of them, if its not do none of them.
thanks
enclose the statements that need to be grouped in curly brackets {}
if(x > y) { Print("hello world"); x++; }
Paul Anscombe:
problem solved. thanks pal
enclose the statements that need to be grouped in curly brackets {}
Birkimson Varzxorani:
problem solved. thanks pal
You are welcome
problem solved. thanks pal
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
hey guys, i could not find my answer in doc.
what if we have 2 things to do when the condition has met?
for example:
if (x>Y)
Print (x) && x++;
this gives me error.
i mean if the condition is true do both of them, if its not do none of them.
thanks