|
| ELZED | Documentation | The Details | API |
| lzEvalExpStrThe 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) |
|
| |