Type
Type
Gets the array type identifier.
virtual int Type() constReturn Value
Array type identifier (for CArrayObj - 7778).
Example:
//--- example for CArrayObj::Type()
#include <Arrays\ArrayObj.mqh>
//---
void OnStart()
{
CArrayObj *array=new CArrayObj;
//---
if(array==NULL)
{
printf("Object create error");
return;
}
//--- get array type
int type=array.Type();
//--- delete array
delete array;
}Last updated on