I'm programming a science tool. for this i have an input string like this: "y= 1.3*exp(-x*3)" from an input textbox. Now I have to convert this string into the form:
dim py as integer
dim px as integer
py = 1.3*math.exp(px*3), becaus i have to calculate the formula.
how can i do this. is there a possibilty to include a code fragment in a string into a vb project?
thanks a lot for any help.
dim py as integer
dim px as integer
py = 1.3*math.exp(px*3), becaus i have to calculate the formula.
how can i do this. is there a possibilty to include a code fragment in a string into a vb project?
thanks a lot for any help.