| ELZED | Documentation | The Details | API |
| lzParseExpThe lzParseExp function parses the passed-in expression and returns a unique handle to the parsed expression. LZObjectHandle lzParseExp( | const char* szExpression | | // the expression to be parsed |
);
ParametersszExpression | | A null-terminated character string containing the expression to be parsed. |
Return Value | Returns a unique, non-zero LZObjectHandle if the expression was successfully parsed. Returns zero if the expression was not successfully parsed. Use lzGetLastErrorID or lzGetLastErrorText to determine the nature of the failure. |
Remarks | To evaluate the parsed expression, use the returned LZObjectHandle in calls to lzEvalExpHndlToNum, lzEvalExpHndlToBool, and lzEvalExpHndlToStr. To delete a parsed expression, pass the handle to lzDeleteExp.
While the handle is unique throughout Elzed, it is at global scope, so it is available only in the context in which it is created. |
Versions | Introduced in Elzed 1.0.0 Modified in Elzed 2.4.0 -- Expression parameter (char*) is now declared const. | | This page describes the version of lzParseExp active in Elzed 2.5.0 (221: 2.5.0) |
See Also |
| |