FerretRunner2
Programmer
The question is whether it is possible for an equation stored in a string (that is written as an arithmetic operation that Visual Basic would accept) to be solved in Visual Basic. Specifically, whether a variable could be entered into the function (like if X represented where the variable should be used).
I have heard the question before, and have wanted to use it myself but until now have simply found a way around it. I would like to make a program that involves graphing several things, and being able to simplify an equation from a string that depends on a variable would quite useful. I would like to avoid performing string operations to separate it into parts, although, because that would be tedious and if that is the only solution, I will try finding a way around this.
Thanks for any help in advance.
I have heard the question before, and have wanted to use it myself but until now have simply found a way around it. I would like to make a program that involves graphing several things, and being able to simplify an equation from a string that depends on a variable would quite useful. I would like to avoid performing string operations to separate it into parts, although, because that would be tedious and if that is the only solution, I will try finding a way around this.
Thanks for any help in advance.