1adime_evaluate(3)             Adime API Reference            adime_evaluate(3)
2
3
4

NAME

6       adime_evaluate
7

SYNOPSIS

9       #include <adime.h>
10
11
12       double   adime_evaluate(const   char   *equation,  int  *error,  double
13       (*var)(const char *name));
14

DESCRIPTION

16       Helper function for evaluating arithmetic  expressions,  which  may  be
17       useful in your programs even though it isn´t really logically connected
18       to the other functions (i.e. it´s not a gui function). It evaluates the
19       provided equation, returning the result, and storing a nonzero value in
20       `error´ if anything goes wrong. If the `var´ function is not NULL, this
21       will  be  called  whenever a variable is encountered in the expression,
22       allowing you to look up and return a suitable value for  it.  For  more
23       information on the expressions, see expressi.txt
24
25

SEE ALSO

27       adime_uevaluate(3)
28
29
30
31Adime                            version 2.2.1               adime_evaluate(3)
Impressum