"StringToUpper" returns a bool value, ie in case of success returns true, otherwise, false.
extern string MyPair = "eurusd"; bool xyz = StringToUpper(MyPair);
Qæs:
Yes I checked that, you are right BUT this is not the answer to my question. Please guide me for that too.
What? This is the answer to your question.
It gave you a warning because you were trying to receive a bool value with a string variable "xyz".
if "StringToUpper" returns true, it means that the string "eurusd" was changed to "EURUSD".
ie "MyPair" have the string "EURUSD".
Naguisa Unada:
if "StringToUpper" returns true, it means that the string "eurusd" was changed to "EURUSD".
ie "MyPair" have the string "EURUSD".
I got it, thank you.
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
With property strict
But in some function body...
and
I want to do it the right way for once (if possible) so i could be able to use it in any function (one or more, both custom and built-in) in same file. Please guide.