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 

lzCheckExp

The lzCheckExp function converts the passed-in expression into enhanced postfix, and then reverts it back to infix.

char* lzCheckExp(
   const char* szExpression   // string containing the expression
);

Parameters

szExpression
   A character string containing the infix expression to be checked.

Return Value

   Returns a character string containing an infix expression derived from the internally created enhanced postfix expression.

Elzed will reuse the returned pointer, so if you want to preserve the string, copy it to your own storage.

Remarks

   This call does 2 conversions. First, it converts the passed infix expression to enhanced postfix. If that conversion succeeds, the expression is reverted back to infix and returned. You can compare the returned infix expression to the original to check for parsing errors.

Versions

   Introduced in Elzed 2.3.3
Modified in Elzed 2.4.0 -- String (char*) parameter is now declared const.
   This page describes the version of lzCheckExp active in Elzed 2.5.0 (178: 2.5.0)


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