Hi, I'm working on a PocketPC app using VB.net 2003. One thing I need is to be able to evaluate a formula contained within a string, as such:
s = "2^2 + 5^3", then evaluate the string into a Float. It has to be a string as its being loaded from a file, and I do my own variable substitution: "x^2 + y^3" as loaded from the file, then I'll substitute x and y with the appropriate values. These formlae can't be hardcoded. Is there any way to do this without resorting to writing a whole string parsing function? If not, suggestions would be great on where to start. I couldn't find anything math related with a Google search. TIA, Anthony ------------------------ Yahoo! Groups Sponsor --------------------~--> $9.95 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/k7folB/TM --------------------------------------------------------------------~-> '// ======================================================= Rules : http://ReliableAnswers.com/List/Rules.asp Home : http://groups.yahoo.com/group/vbHelp/ ======================================================= Post : [EMAIL PROTECTED] Join : [EMAIL PROTECTED] Leave : [EMAIL PROTECTED] '// ======================================================= Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/vbhelp/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
