Back to index

tetex-bin  3.0
Functions
strexpr.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int strexpr (int *result, char *expression)

Function Documentation

int strexpr ( int result,
char *  expression 
)

Definition at line 276 of file strexpr.c.

                                           {
       struct val     *vp;

       pexpr = expression;

        nexttoken();
       vp = eval3();

       if (token != EOI) return 1;

       if (vp->type == integer || to_integer(vp)) {
              *result = vp->u.i;
              return 0;
       }

        return 1;
}

Here is the call graph for this function: