Evaluates polish postfix notation representation of given expression.
The list of allowed functions is given in
eval_expression .
Expression can contain variables. Variables names should begin
from varsgn , can contain letters, numbers, dots ('.') and underscores ('_').
- Source:
- ../fmutl/calc.h:97
- Author:
- ATC
- Version:
- 1.0
- Params:
expr
| string containing expression to evaluate.
|
len
| length of expression string (in case expression ends before
the terminating zero.
|
varsgn
| designates variables signature, '$' by default.
|
- Returns:
- polish postfix record. This value should be freed with
fmutl_free function.
- Code:
public extern "C" FMUTL_API char * poliz ( | const char * expr , |
| int len = - 1 , |
| char varsgn = '$' ) |