Questions from a "dummy" - page 151 1...144145146147148149150151152153154155156157158...277 New comment MegaVoin 2012.05.16 13:26 #1501 1664MetaDriver, Urain thank you very much! pusheax 2012.05.16 13:51 #1502 Swan: the hell if I know)Delete list item 0 - 1 becomes 0, item 2 becomes 1, etc.Delete list item 1 - 2 becomes 1, etc.etc.With direct loop it turns out that objects are deleted one by one. Yes, I put the second option to get and delete 0 index: s_ObjectName = ObjectName(i_chart_id,0,i_nwin,i_type);In the hope that someone will always be at 0 index.In short, you're right with it, it worked, and thank God! Aleksey Lebedev 2012.05.16 15:56 #1503 pusheax: Without filter, deleting object 0 in the list of objects in the loop should theoretically delete everything. But it's not interesting without filter) and you can delete everything with ObjectsDeleteAll() function. Документация по MQL5: Графические объекты / ObjectsDeleteAll www.mql5.com Графические объекты / ObjectsDeleteAll - Документация по MQL5 Denis Timoshin 2012.05.17 07:38 #1504 How to clear a multi-dimensional array via ArrayFree or ArrayInitialize???? Документация по MQL5: Основы языка / Переменные www.mql5.com Основы языка / Переменные - Документация по MQL5 Vladimir Gomonov 2012.05.17 07:48 #1505 dentraf: How to clear a multi-dimensional array via ArrayFree or ArrayInitialize????https://www.mql5.com/ru/docs/common/zeromemory Документация по MQL5: Общие функции / ZeroMemory www.mql5.com Общие функции / ZeroMemory - Документация по MQL5 Denis Timoshin 2012.05.17 08:21 #1506 MetaDriver:https://www.mql5.com/ru/docs/common/zeromemory Thanks a lot!!!!!!!! I tried 2012.05.17 10:24:14 ZZZ_Setka_Save Invalid EX5 file came up with this Prev[][5]; ArrayResize(Prev,Bar_Istory); I tried ArrayInitialize(Prev,0) before; replaced by ZeroMemory(Prev) ; the result is ZZZ_Setka_Save Invalid EX5 file Features of the mql5 Errors, bugs, questions Can't validate new EA Rashid Umarov 2012.05.17 08:36 #1507 dentraf: Thanks a lot!!!!!!!! I tried 2012.05.17 10:24:14 ZZZ_Setka_Save Invalid EX5 file came up with this Prev[][5]; ArrayResize(Prev,Bar_Istory); I tried ArrayInitialize(Prev,0) before; replaced by ZeroMemory(Prev) ; the result is ZZZ_Setka_Save Invalid EX5 file If a compiler error is suspected, please write to Service Desk. The attached source code will definitely be removed after verification. Общайтесь с разработчиками через Сервисдеск! www.mql5.com Ваше сообщение сразу станет доступно нашим отделам тестирования, технической поддержки и разработчикам торговой платформы. Ilyas 2012.05.17 08:44 #1508 dentraf: Thanks a lot!!!!!!!! I tried 2012.05.17 10:24:14 ZZZ_Setka_Save Invalid EX5 file came up with this Prev[][5]; ArrayResize(Prev,Bar_Istory); I tried ArrayInitialize(Prev,0) before; replaced by ZeroMemory(Prev) ; the result is ZZZ_Setka_Save Invalid EX5 file Thank you for your message, the error has been corrected. Please wait for the next build. Vladimir Gomonov 2012.05.17 09:50 #1509 mql5: Thank you for your message, the error has been fixed. Please wait for the next build.What was it? // if it's not a secret.I've also noticed that zeromemory fails in some (not all) usage contexts. Been too lazy to catch the bug and send it to you. Any rookie question, so EURUSD - Trends, Forecasts FOREX - Trends, forecasts Ilyas 2012.05.18 14:17 #1510 MetaDriver: What was it? // if it's not a secret.I've also noticed that the zeromemory is messing up in some (not all) usage contexts. Been too lazy to catch the bug and send it to you. Optimization was building wrong code, it didn't pass the terminal check. 1...144145146147148149150151152153154155156157158...277 New comment
1664
the hell if I know)
Delete list item 0 - 1 becomes 0, item 2 becomes 1, etc.
Delete list item 1 - 2 becomes 1, etc.
etc.
With direct loop it turns out that objects are deleted one by one.
In the hope that someone will always be at 0 index.
In short, you're right with it, it worked, and thank God!
But it's not interesting without filter) and you can delete everything with ObjectsDeleteAll() function.
How to clear a multi-dimensional array via ArrayFree or ArrayInitialize????
How to clear a multi-dimensional array via ArrayFree or ArrayInitialize????
https://www.mql5.com/ru/docs/common/zeromemory
Thanks a lot!!!!!!!! I tried 2012.05.17 10:24:14 ZZZ_Setka_Save Invalid EX5 file
came up with this
Prev[][5];
ArrayResize(Prev,Bar_Istory);
I tried ArrayInitialize(Prev,0) before;
replaced by ZeroMemory(Prev) ; the result is ZZZ_Setka_Save Invalid EX5 file
Thanks a lot!!!!!!!! I tried 2012.05.17 10:24:14 ZZZ_Setka_Save Invalid EX5 file
came up with this
Prev[][5];
ArrayResize(Prev,Bar_Istory);
I tried ArrayInitialize(Prev,0) before;
replaced by ZeroMemory(Prev) ; the result is ZZZ_Setka_Save Invalid EX5 file
Thanks a lot!!!!!!!! I tried 2012.05.17 10:24:14 ZZZ_Setka_Save Invalid EX5 file
came up with this
Prev[][5];
ArrayResize(Prev,Bar_Istory);
I tried ArrayInitialize(Prev,0) before;
replaced by ZeroMemory(Prev) ; the result is ZZZ_Setka_Save Invalid EX5 file
Thank you for your message, the error has been fixed. Please wait for the next build.
What was it? // if it's not a secret.
I've also noticed that zeromemory fails in some (not all) usage contexts.
Been too lazy to catch the bug and send it to you.
What was it? // if it's not a secret.
I've also noticed that the zeromemory is messing up in some (not all) usage contexts.
Been too lazy to catch the bug and send it to you.