bool GlobalVariableGet(string name)
Returns the value of an existing global variable or 0 if an error occurs.
To get the detailed error information, one has to call the GetLastError() function.
既存のグローバル変数の値を返し、エラーが発生した場合は 0 の値を返します。詳細なエラー情報を取得するには、GetLastError()
関数を呼び出します。
Parameters:
パラメータ:
name - Global variable name.
グローバル変数の名前。
Sample:
サンプル:
double v1=GlobalVariableGet("g1");
//---- check function call result
if(GetLastError()!=0) return(false);
//---- continue processing
|