i have no idea how i'm going accomplish someway, somehow have perform calculations dynamically in asp/vb.net (possibly sql server). this:
dim var1, var2 integer dim optr string var1 = 15 var2 = 25 optr = + myresult(var1, var2, optr)
...and myresult
should equal 40. how can this? have ideas? thanks!
the way can think of switch case deals possible operators.
if want implement more complicated(with operator presedence) can use shunting yard algorithm
Comments
Post a Comment