Create a new variable and attach it to this CzVar object.
bool CzVar::Create(long VarID, const char* lpVarName = 0);
Name | Type | Comment |
---|---|---|
VarID | long | The variable type ID of the variable to be created. |
lpVarName | const char* | A handle to a C-style string containing the name of the new variable. |
False if an error occurred, and true otherwise.
If the lpVarName argument is null or the string is zero-length, the variable is created using the var_CreateTemp function. Otherwise, the variable is created using var_Create. Please consult the comments for var_Create for more information on variable names, such as how to do variable nesting.