The mode parameter in the Sort(..) and Compare(..) methods allows changing the algorithms of sorting and comparison during program execution.
See the example attached.
Files:
ListSample.mq5
14 kb
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
Could someone explain what is the use of the mode in CList.Sort(mode) and CObject.Compare(node, mode)?