I have Eval code (and Steve does too, I think a more complete set of math functions, (they are easy to add into code)) and way more powerful FVal$ code if anyone wants a copy. I use FVal$ in my Interpreter "oh". I'd have to fix up the straight up Fval$ code version since the big incompatible Function name use change of v 2.0 Warning: it's not exactly Basic like but more like another program language whose name escapes this senior at the moment. But I can describe it's syntax:
Every Function is in the form of FunctionName[a1, a2, a3,...] all of them including add, subtract, divide, multiply
It's not a + b + c + d, it's add[a, b, c, d, ...] (some functions allow any number of arguments)
It's not a * x ^ 2 + b * x + c but add[mult[a,power[x,2],mult[b, x],c] Yikes! a Basic user would say.
But it's more powerful because you can do string functions and Booleans and probably do User Defined Functions with it as well though I haven't tested that. What a great idea!
Every Function is in the form of FunctionName[a1, a2, a3,...] all of them including add, subtract, divide, multiply
It's not a + b + c + d, it's add[a, b, c, d, ...] (some functions allow any number of arguments)
It's not a * x ^ 2 + b * x + c but add[mult[a,power[x,2],mult[b, x],c] Yikes! a Basic user would say.
But it's more powerful because you can do string functions and Booleans and probably do User Defined Functions with it as well though I haven't tested that. What a great idea!
b = b + ...