KRASCHE
&
BYRNE
         ELZED  HOME       NEWS       DOCS       DOWNLOADS       LICENSING       SUPPORT       FAQ       ABOUT  US

What's An Elzed?
Features
Licensing
Downloads
Documentation
Elzed News
    ELZED 
 Documentation 
 The Details 
 API 

lzLinkComplexVar

The lzLinkComplexVar function establishes the named complex variable within Elzed and associates it with the passed-in host variables.

bool lzLinkComplexVar(
   char cScope,   // the scope of the linked variable
   const char* szVariableName,   // the name of the linked variable
   double* dpRealPart,   // the real part of the associated variable
   double* dpImagPart   // the imaginary part of the linked variable
);

Parameters

cScope
   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.

dpRealPart
   A pointer to a double-precision real value to be linked to the new variable.

dpImagPart
   A pointer to a double-precision imaginary value to be linked to the new variable.

Return Value

   Returns TRUE if the variable was successfully linked, 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 lzLinkComplexVar active in Elzed 2.5.0 (216: 2.5.0)

See Also



  Copyright  ©  MMXXV  by  R R Le Cropane   •   All Rights Reserved   •   Terms of Use   •   Privacy Policy