Back to index

tetex-bin  3.0
strexpr.h
Go to the documentation of this file.
00001 /*
00002  * File:    strexpr.h
00003  * Purpose: calculate value from algebraic string expression
00004  * Version: 1.0 (Nov 1995)
00005  * Author:  Piet Tutelaers
00006  */
00007 
00008 /*
00009  * Evaluate the algebraic expression contained in <expression>. The
00010  * value will be assigned to <result>. When errors are encountered
00011  * non-zero (if program is not aborted) is returned otherwise zero. 
00012  */
00013 int strexpr(int *result, char *expression);