string ObjectName(int index)
The function returns the object name by its index in the objects list. To get the detailed error information, one has to call the GetLastError() function.
この関数は、オブジェクト一覧のインデックスからオブジェクトの名前を返します。詳細なエラー情報を取得するには、GetLastError() 関数を呼び出します。
Parameters:
パラメータ:
| 
 | 
Sample:
サンプル:
| 1 2 3 4 5 6 7 |   int    obj_total=ObjectsTotal();   string name;   for(int i=0;i<obj_total;i++)     {      name=ObjectName(i);      Print(i,"Object name is " + name);     } |