Thread: String Parsing
View Single Post
  #12  
Old 03-20-2008, 02:29 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by Programmer View Post
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..
__________________
Reply With Quote