SetVariable Function

Sets a double variable.

Syntax

bool SetVariable(
const string&in name,
double val
)

Parameters

const string&in name
The name of the variable.

double val
The value of the variable.

Return value

bool
true if the variable was found and the type is matching, false otherwise.

Remarks

None.