blouf:
Return?
Hi,
I'm looking for the operator to "break" if a condition is filled since 'break' only works with while, do while, for ...
THanks
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?
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 !!!
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Hi,
I'm looking for the operator to "break" if a condition is filled since 'break' only works with while, do while, for ...
THanks