R
rowe_newsgroups
Nov 13, 2007
Hi all
Can I build a string for arithmetic operation. (VB NET 2005)
e.g.
I want to build an arithmetic operation from within the program as
mVariable="A1+A2+A3" (where A1=1, A2=5, A3=10) (A1,A2 & A3 are variables
declared as integers)
mTotal=mVariable (mTotal should return 16)
If there is any other way to do what I want I would appreciate if someone
can guide me.
Thank you.
Mike TI
I'm confused - why not just do this?
Dim mVariable As Integer = A1 + A2 + A3
Thanks,
Seth Rowe