string GlobalVariableName(int index)
The function returns the name of a global variable by its index in the
list of global variables. To get the detailed error information, one has
to call the GetLastError().
この関数はグローバル変数の一覧から、そのインデックスのグローバル変数の名前を返します。詳細なエラー情報を取得するには、GetLastError() を呼び出します。
Parameters:
パラメータ:
index - Index in the list of global variables.
It must exceed or be equal to 0 and be less than GlobalVariablesTotal().
グローバル変数の一覧にあるインデックス。
それは、0 以上で、GlobalVariablesTotal()より小さい必要があります。
Sample:
サンプル:
int var_total=GlobalVariablesTotal();
string name;
for(int i=0;i<var_total;i++)
{
name=GlobalVariableName(i);
Print(i,": Global variable name - ",name);
}
|