Set array member value inside class function?
Try to create a copy constructor.
Ok, I see how that can work.
Also, I found https://www.mql5.com/en/forum/154829 which helped
Thank you!
Ok, I see how that can work.
Also, I found https://www.mql5.com/en/forum/154829 which helped
Thank you!
You agree to website policy and terms of use
Hello
Im trying to copy the value of a member of an array to another position in the same array. I get the error:
'=' not allowed for objects with protected members or inheritance
but I dont understand why I get this. Can someone help please?
Code: