SetVariable Function

Sets a bool 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.