HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

converting a string into a mathematical expression

08-08-2009, 04:46 AM#1
Drain Pipe
Was wondering if anyone has made code that converts a string that represents an expression into the actual expression which can take values and give results. If not, I'm currently working on one but I just want to make sure I'm not wasting my time here..

[edit] never mind..... I've come to the conclusion that this would be rather useless...
08-08-2009, 04:52 AM#2
Switch33
It's definitely been done before. Daelin or Vexorian i think did it. Can't remember which. It might be back when Daelin did his JASS teaching lessons. Gosh that's a long time ago.
08-08-2009, 04:56 AM#3
Drain Pipe
I just realized tho, that in most cases with jass, you can just paste your expression right into the text just as you'd do into a wordpad document, so it really doesn't make anything any easier for me. maybe a little bit for integration purposes....but not much else as far asi can think of.