Errors, bugs, questions - page 1729
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
I create OBJ_CHART, and drag it around the top-left corner of the chart with my mouse. While dragging, ObjectDelete is called with successful result. MT5.
Compilation error:
Appeared in build 1447There will now be a compilation error in both cases, the code should be modified to avoid the error:
I haven't seen that anywhere. Is this the standard?
Now in both cases there will be a compilation error, in order to avoid the error, the code should be changed:
Please check also this contradiction (here opposite - error at the bottom)
How does MQL5 work with memory?
For example, there is the following code:
according to which memory in "heap" will be allocated for ptr_obj object, and automatic memory will be allocated for obj object. If the operation of MQL5 memory manager is clear for these objects:
1. theptr_a object of theptr_obj object is allocated memory in the "heap".
2. Memory for objectobj_a of objectobj is automatically allocated
How the MQL5 memory manager is organized in these cases:
3. In which memory area will object obj_a of object ptr_obj be located?
4. in which area of memory will object ptr_a of object obj be located
Please also check this contradiction (here in reverse)
With this transfer, it is possible to swap the elements in the array (and size), but it is not possible to swap the elements themselves. Right?
And here the elements (and size) cannot be swapped either. Is it correct?
I haven't seen that anywhere. Is this the standard?
With this transfer, it is possible to swap the elements in the array (and size), but it is not possible to swap the elements themselves. Right?
And here the elements (and size) cannot be swapped either. Is it correct?