Hello,
spcalc is a library for expression evaluation (source code in post #2).
it supports :
string and number
operators +, -, *, /, ^, % and &
user-defined variables
user-defined functions
library, full documented example and html documentation (thanks to informatix for libdoc) in the...