SirCmpwn wrote:
sqrt(2 * [x] + 3)
Remember to use spaces.
Urk, that's a bit awkward; why are the spaces necessary?
Because I was too lazy to fix it. Technically, you only need spaces around variables, so Sqrt(2* [x] +3) would work.
SirCmpwn wrote:
Because I was too lazy to fix it. Technically, you only need spaces around variables, so Sqrt(2* [x] +3) would work.
So it's just a function of the parser that you wrote? Actually, it seems to me that this would be an amazing application in which people could test their RegEx skills...
I can make a regex program, to help train people in the art of regex, but it would probably be best separately (even though my program uses regex to get a list of variables Wink)
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 2 of 2
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement