Variable::SetValue
Defined in:
Sets the variable value as a string.
C4Variables.h
Prototype
void SetValue(const char *value);
Parameters
value |
A pointer to a string that will become the new variable value. |
Description
The SetValue
function sets the value of a variable to the string specified by the value
parameter. If the string is longer than kMaxVariableValueLength
characters, then it is truncated.If the variable has observers installed, then they are invoked after the variable's value is set.
See Also