| ELZED | Documentation | The Details | API |
| lzGetComplexVarValueByHandleThe lzGetComplexVarValueByHandle function returns the value of the indicated complex variable. bool lzGetComplexVarValueByHandle( | LZObjectHandle hHandle, | | // a handle to the variable | | double* dpRealPart, | | // pointer to the real part | | double* dpImagPart | | // pointer to the imaginary part |
);
ParametershHandle | | An LZObjectHandle to the desired variable. |
dpRealPart | | A pointer to a double-precision variable which will receive the real part of the complex numeric variable. |
dpImagPart | | A pointer to a double-precision variable which will receive the imaginary part of the complex numeric variable. |
Return Value | Returns TRUE if the target variable is found, FALSE otherwise. |
Remarks | This function fails silently and returns values of zero if the variable is not found or is not of complex type. Use lzGetLastErrorID or lzGetLastErrorText to find out what failed. |
Versions | Introduced in Elzed 2.4.0 | | This page describes the version of lzGetComplexVarValueByHandle active in Elzed 2.5.0 (247: 2.5.0) |
See Also |
| |