Red orders? We turn them green. Profits go straight to your bank card first — we split later. No upfront payment, no account access required. 🟢 WhatsApp: 85254981192 ⚪ Telegram: @kkk437
Gets the next element in the list.
CObject* GetNextNode()
Return Value
Pointer to the next element - successful, NULL - cannot get a pointer.
Example:
//--- example for CList::GetNextNode() #include <Arrays\List.mqh> //--- void OnStart() { CList *list=new CList; //--- if(list==NULL) { printf("Object create error"); return; } //--- add list elements //--- . . . CObject *object=list.GetNextNode(); if(object==NULL) { printf("Get node error"); delete list; return; } //--- use element //--- . . . //--- do not delete element //--- delete list delete list; }