| ELZED | Documentation | The Details | API |
| lzLinkBoolVarThe lzLinkBoolVar function links a host boolean variable to the named Elzed variable. bool lzLinkBoolVar( | char cScope, | | // the scope of the linked variable | | const char* szVariableName, | | // the name of the linked variable | | bool* bpVariable | | // pointer to the associated variable |
);
ParameterscScope | | A character code indicating the scope of the new 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 new variable. Must be unique within the indicated scope. |
bpVariable | | A pointer to a boolean host variable to be linked to the target Elzed variable. |
Return Value | Returns TRUE if the variable was successfully linked, otherwise FALSE. |
Versions | Introduced in Elzed 2.4.0 | | This page describes the version of lzLinkBoolVar active in Elzed 2.5.0 (261: 2.5.0) |
See Also |
| |