| ELZED | Documentation | The Details | API |
| lzGetVarHandleThe lzGetVarHandle function returns a handle to the named variable. LZObjectHandle lzGetVarHandle( | char cScope, | | // the scope of the variable | | const char* szVariableName | | // the name of the variable |
);
ParameterscScope | | A character code indicating the scope of the desired 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
|
'A'
|
kAnyScope
|
Either cosmic or global
|
|
szVariableName | | A null-terminated character string containing the name of the desired variable. |
Return Value | Returns an LZObjecthandle to the named variable. |
Remarks | The target variable must exist in the current context and/or at the specified scope. |
Versions | Introduced in Elzed 2.4.0 | | This page describes the version of lzGetVarHandle active in Elzed 2.5.0 (256: 2.5.0) |
See Also |
| |