Hello !
Could someone explain what this error message from the Expert tab means ?
Thanks very much
Could someone explain what this error message from the Expert tab means ?
Thanks very much
This is very common error.
It means that somewhere in your program you are evaluating variable defined as string which is empty, nothing was ever written into it.
It means that somewhere in your program you are evaluating variable defined as string which is empty, nothing was ever written into it.
Thanks Sub, but aren't empty strings allowed ? Can I write if (mystring == "") ... ? It seems common to do that.
It means that somewhere in your program you are evaluating variable defined as string which is empty, nothing was ever written into it.
Thanks Sub, but aren't empty strings allowed ? Can I write if (mystring == "") ... ? It seems common to do that.
Yes, but you have to first write to it:
string mystring = "";
string mystring; // will give an error if tested
Ok, Thanks very much !
![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
Could someone explain what this error message from the Expert tab means ?
Thanks very much