Quote:
Originally Posted by Programmer
From what he told me, he's trying to make a text box and allow people to input simple mathematics and variables, and then translate them to return a readable value. The script I posted was merely an example of what he essentially wants done.
|
But if that was possible, making a calculator in a programming language would be easy as pie..
I've started a parser that is suppose to parse math stuff like 1+1, a+1=2 etc. but I got bored with it and couldn't decide if I wanted to include variables or not and a lot of other stuff..