Errors, bugs, questions - page 1534 1...152715281529153015311532153315341535153615371538153915401541...3193 New comment [Deleted] 2016.03.23 10:43 #15331 In MT4 datetime is not converted to string as it is in MT5. Vladislav Andruschenko 2016.03.23 10:44 #15332 comp: In MT4 datetime is not converted to string as it is in MT5. It's fine, how do you do it? [Deleted] 2016.03.23 12:08 #15333 Vladislav Andruschenko: It's fine, but how do you do it?As usual: (string)time. Found out the reason - #property strict was missing. As soon as I put it in, everything became normal.Can we make it so that strict mode is always on by default? Questions from Beginners MQL5 WHY ADVISOR FOLDER ARE using #property strict Vladimir Karputov 2016.03.23 12:11 #15334 comp: ...Can you make it so that strict mode is always on by default? When creating any type of mql4 file in MQL4 Wizard, #property strict is set automatically. [Deleted] 2016.03.23 13:53 #15335 Karputov Vladimir: When creating any type of mql4 file in MQL4 Wizard, #property strict is set automatically.Not using the Wizard. #property old_mql would be enough to make the old codes work.Now everyone is writing in new MQL. Rorschach 2016.03.24 09:00 #15336 Question on ArraySetAsSeries (mql4). Help says:"TheAS_SERIESflag cannot be set for multidimensional arrays... "But it turns out that it can and the code will return 1 or 3 depending on the flag. Am I reading it wrong or is there a mistake in the help?int A[][2]; ArrayResize(A,3); A[0][0]=1; A[1][0]=2; A[2][0]=3; Alert(A[0][0]); ArraySetAsSeries(A,true); Alert(A[0][0]); Questions from Beginners MQL5 Any questions from newcomers I am confused [Deleted] 2016.03.24 11:55 #15337 Dear Developers. The site search does not work correctly.Check on the line "OOP". Not a single article. Though there are enough of them. Pavel Kozlov 2016.03.24 13:09 #15338 Alexey Kozitsyn: Dear developers. The site search does not work correctly.Check on the line "OOP". Not a single article. Although there are plenty of them.Hello! Thank you for your feedback.We are working on fixing the search problems. Maxim Khrolenko 2016.03.24 13:52 #15339 Administration: What is the type of _RandomSeed predefined variable? The page(MQL4 and MQL5) doesn't say anything about it. Please correct the help. MetaQuotes 2016.03.24 14:30 #15340 Maxim Khrolenko: Administration: What is the type of _RandomSeed predefined variable? The page(MQL4 and MQL5) doesn't say anything about it. Please correct it. int, see MathSrand 1...152715281529153015311532153315341535153615371538153915401541...3193 New comment
In MT4 datetime is not converted to string as it is in MT5.
It's fine, but how do you do it?
As usual: (string)time. Found out the reason - #property strict was missing. As soon as I put it in, everything became normal.
Can we make it so that strict mode is always on by default?
...
Can you make it so that strict mode is always on by default?
When creating any type of mql4 file in MQL4 Wizard, #property strict is set automatically.
Not using the Wizard. #property old_mql would be enough to make the old codes work.
Now everyone is writing in new MQL.
Question on ArraySetAsSeries (mql4). Help says:"TheAS_SERIESflag cannot be set for multidimensional arrays... "
But it turns out that it can and the code will return 1 or 3 depending on the flag. Am I reading it wrong or is there a mistake in the help?
Dear Developers. The site search does not work correctly.
Check on the line "OOP". Not a single article. Though there are enough of them.
Dear developers. The site search does not work correctly.
Check on the line "OOP". Not a single article. Although there are plenty of them.
Hello! Thank you for your feedback.
We are working on fixing the search problems.
Administration: What is the type of _RandomSeed predefined variable? The page(MQL4 and MQL5) doesn't say anything about it. Please correct it.