FreeMode

Obtém o flag de gerenciamento de memória ao excluir itens da lista.

bool  FreeMode() const

Valor do Retorno

Flag de gerenciamento de memória .

Exemplo

//--- example for CList::FreeMode()  
#include <Arrays\List.mqh>  
//---  
void OnStart()  
  {  
   CList *list=new CList;  
   //---  
   if(list==NULL)  
     {  
      printf("Object create error");  
      return;  
     }  
   //--- get free mode flag  
   bool list_free_mode=list.FreeMode();  
   //--- delete list  
   delete list;  
  }