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