Before I posted my comment, I had a look at the source under "view" and included it. There seems to have been something old. Something must have overlapped, or old code was output cached here.
When did you update? It might always be interesting to know.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
After update MetaEditor to Version: 5.00 build 1498, compiling the code generates error bellow:
cannot implicitly convert type 'string' to 'bool'.
Line 53: void operator=(string a) { m_type=a?jtSTR:jtNULL; m_sv=a; m_iv=StringToInteger(m_sv); m_dv=StringToDouble(m_sv); m_bv=a!=NULL; }
It seems that m_type=a?jtSTR:jtNULL is not supported in this version.
Fixes:
Line 53: void operator=(string a) { m_type=a!=NULL?jtSTR:jtNULL; m_sv=a; m_iv=StringToInteger(m_sv); m_dv=StringToDouble(m_sv); m_bv=a!=NULL; }
Line 80: case jtSTR: m_sv=Unescape(a); m_type=m_sv!=NULL?jtSTR:jtNULL; m_iv=StringToInteger(m_sv); m_dv=StringToDouble(m_sv); m_bv=m_sv!=NULL; break;
The author has published an update which addresses this issue.
I have fixed this issue. But it will be good to see what the author did. How can I find it? Thanks.
You can download it here: https://www.mql5.com/en/code/13663
What for?
Version 1.07 compiled without errors.
Fact.
Before I posted my comment, I had a look at the source under "view" and included it. There seems to have been something old. Something must have overlapped, or old code was output cached here.
When did you update? It might always be interesting to know.
When did you update ?
I added everything in the ru section (which I know better than German)
but the moderator does not translate this description
https://www.mql5.com/ru/code/13663
fixed it.
v1.08
Fixed parsing of array of arrays (e.g. { "a":[[1],[2]] } )