SetVariable Function

Sets a double variable.

Syntax

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

Parameters

const string&in name
The name of the variable.

bool val
The value of the variable.

Return value

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

Remarks

None.