| ELZED | Documentation | The Details | API |
| lzCreateBoolVarThe lzCreateBoolVar function establishes the named boolean variable within Elzed. LZObjectHandle lzCreateBoolVar( | char cScope, | | // the scope of the new variable | | const char* szVariableName | | // the name of the new variable |
);
ParameterscScope | | A character code indicating the scope of the target variable. The character code must be one of the following values:
Code
|
Constant
|
Meaning |
'C'
|
kCosmicScope
|
Available in all contexts |
'G'
|
kGlobalScope
|
Available in current context only |
|
szVariableName | | A null-terminated character string containing the name of the target variable. Must be unique within the indicated scope. |
Return Value | Returns a handle to the created variable if successful; NULL otherwise. |
Versions | Introduced in Elzed 2.4.0 | | This page describes the version of lzCreateBoolVar active in Elzed 2.5.0 (240: 2.5.0) |
See Also |
| |