Download MetaTrader 5

If statement : if a condition is filled then ... NOTHING

To add comments, please log in or register
Icham Aidibe
10050
Icham Aidibe  

Hi,

I'm looking for the operator to "break" if a condition is filled since 'break' only works with while, do while, for ...

THanks

Dua Yong Rew
5454
Dua Yong Rew  
blouf:

Hi,

I'm looking for the operator to "break" if a condition is filled since 'break' only works with while, do while, for ...

THanks

Return? 
Benjamin Dixon
23550
Benjamin Dixon  
Break out of what? like doshur said, return breaks out of the function... Could post an example of your code cause your title doesn't really make sense. Why test for a condition at all in order to do.... nothing?
Icham Aidibe
10050
Icham Aidibe  
bendex77:
Break out of what? like doshur said, return breaks out of the function... Could post an example of your code cause your title doesn't really make sense. Why test for a condition at all in order to do.... nothing?

Okay return - it works & what i was looking for ! thanks you !!!

To add comments, please log in or register