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 

lzEvalExpStr

The lzEvalExpStr function evaluates an expression and returns the data type of the result.

char lzEvalExpStr(
   const char* szExpression   // the expression to be evaluated
);

Parameters

szExpression
   A null-terminated character string containing the expression to be evaluated.

Return Value

   A character code indicating the data type of the result. The returned character code will be one of the following values:

Code
Constant
Meaning
'C'
kTypeComp
Complex number
'N'
kTypeNum
Numeric
'S'
kTypeStr
String
'B'
kTypeBool
Boolean
'X'
kTypeNone
No return value


Versions

   Introduced in Elzed 1.2.0
Modified in Elzed 2.3.0 -- Dropped lCycles parameter.
Modified in Elzed 2.4.0 -- Expression parameter (char*) is now declared const.
   This page describes the version of lzEvalExpStr active in Elzed 2.5.0 (192: 2.5.0)


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