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