|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
CalculatorGranted this question is for a take-home pre-screening interview question.
No rules against using the newsgroups! I need to take an input string like (4 * (5 + 6.7) - 81 / 9) and calculate the result. I was thinking of using reflection or similar to actually let VB do the work, like an execute.indirect statement: dim result as double = <execute.indirect(sInput)> Any thoughts? Otherwise, I guess I'll have to implement a stack Jeff "Jeff Dillon" <jeffdil***@hotmail.com> schrieb: See:> I need to take an input string like (4 * (5 + 6.7) - 81 / 9) and > calculate the result. > > I was thinking of using reflection or similar to actually let VB do the > work, like an execute.indirect statement: <URL:http://groups.google.de/group/microsoft.public.dotnet.languages.vb/msg/60cde209714dfbb0> -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Check for .NET Installed
Strange Issue / DB Error / Not Showing Error Message VB.NET equivalent of C# Operator '??' What .NET classes are SLOW vs. API? mp3 synchronised lyrics Programmatically Find All Registry Entries Trouble executing a stored procedure Bitmap to JPEG with compression settings ToolStripMenuItem Possible bug in VS2005 PLEASE HELP! CANT INSTALL .NET |
|||||||||||||||||||||||