//--- exemple d'utilisation de CArrayShort::Type()
#include <Arrays\ArrayShort.mqh>
//---
void OnStart()
{
CArrayShort *array=new CArrayShort;
//---
if(array==NULL)
{
printf("Object create error");
return;
}
//--- récupère le type du tableau
int type=array.Type();
//--- supprime le tableau
delete array;
}
|