I think the issue is the inclusion of the strings in your struct definition.
(From the documentation: Structures and Classes):
Simple Structures
Structures that do not contain strings or objects of dynamic arrays are called simple structures; variables of such structures can be freely copied to each other, even if they are different structures. Variables of simple structures, as well as their array can be passed as parameters to functions imported from DLL.
.
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 define a struct:
Now I just want to copy (move within the list) one element :
But the compiler complains:
So is there a more intelligent way to copy a struct that to write my own function that copies each single element one by one?
Gooly