Download MetaTrader 5

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

To add comments, please log in or register
Enable MQL5 Storage to store your source codes. It is free!
Icham Aidibe
10043
Icham Aidibe 2014.03.22 11:17 

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
5424
Dua Yong Rew 2014.03.22 11:24  
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
23166
Benjamin Dixon 2014.03.22 11:52  
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
10043
Icham Aidibe 2014.03.25 09:09  
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