SetVariable Function

Sets a string variable.

Syntax

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

Parameters

const string&in name
The name of the variable.

const string&in val
The value of the variable.

Return value

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

Remarks

None.