"bill" <be****@datamti.com> schrieb:
In VB.NET 2005, is there an equivalent of the EVAL function available in
MSAccess and javascript?
I need a way to pass a dynamically generated string (like "2+2") to a
function and return 4.
EVAL("2+2") will return 4
Hand-made:
MathLib
<URL:http://www.palmbytes.de/content/dotnet/mathlib.htm>
Dynamic compilation:
Build a Custom .NET "EVAL" Provider
<URL:http://www.eggheadcafe.com/articles/20030908.asp>
Runtime Compilation (A .NET eval statement)
<URL:http://www.codeproject.com/dotnet/evaluator.asp>
Evaluation of numeric expressions using J#:
<URL:http://groups.google.de/group/microsoft.public.dotnet.languages.csharp/msg/9e95759b54a323a7>
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>