Of course, there are a few additional details to 'flesh out' the generation of the actual chart.
To even return a SET of values, you will need a few 'ground rules':
whether the function is limited to single variables (per your example);
(presuming the limit is to single variable), what character(s) represent that variable (JUST "X", or any Char between "S" and "Z", or ... );
how to enter the coefficients (e.g. "A", "B", "C" or "1.25", "3.14159", "7"

;
'validate' the equation. e.g. does it follow the 'rules' established (like unto the above)?
You will also need to have the use enter the rnge and step values for the plot.
And, even to generate the value list, you WILL need ot do at least some small bit of the parseing noted by ye CajunCenturion, as ? Eval(2 * X) will always return zero, so your values list will beed to replace the "X" with a muneric value (range-step).
As far as I know, you will need to place the index (range-step) and value into some 'recordset' and feed these to the MS. Chart applet (unless - of course you are going to generate your own plotting function).
MichaelRed
m.red@att.net
Searching for employment in all the wrong places