L3DT documentation
Large 3D terrain generator

CzVar::Create

Description

Create a new variable and attach it to this CzVar object.

Function prototype

bool CzVar::Create(long VarID, const char* lpVarName = 0);

Arguments

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.

Return value

False if an error occurred, and true otherwise.

Comments

Variable names

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.

 
zeolite/functions/czvar_create.txt · Last modified: 2017/08/31 04:37 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki