| ELZED | Documentation | The Details | API |
| lzSetRealVarThe lzSetRealVar function finds or establishes the named complex variable within Elzed and assigns the real part the passed-in value. bool lzSetRealVar( | char cScope, | | // the scope of the target variable | | const char* szVariableName, | | // the name of the target variable | | double dRealPart | | // the real part of the target variable value |
);
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. |
dRealPart | | A double-precision value to be applied to the real part of the target variable. |
Return Value | Returns TRUE if the variable was successfully found or created, otherwise FALSE. |
Versions | Introduced in Elzed 1.0.0 Modified in Elzed 2.4.0 -- Variable name parameter (char*) is now declared const. | | This page describes the version of lzSetRealVar active in Elzed 2.5.0 (234: 2.5.0) |
See Also |
| |