Type
获取数组类型标识符。
返回值
数组的类型 ID (对于 CArrayInt - 82)。
例如:
//--- 例程 CArrayInt::Type()
#include <Arrays\ArrayInt.mqh>
//---
void OnStart()
{
CArrayInt *array=new CArrayInt;
//---
if(array==NULL)
{
printf("对象创建错误");
return;
}
//--- 获取数组类型
int type=array.Type();
//--- 删除数组
delete array;
}
|