I'm using the MS Script Control to evaluate some simple mathematical equations like "a + b * c" but is there a way to use flow control in the same manner. What I mean is: if I have a variable, say g, in my code and it gets set equal to "on", is there a way to evaluate something like:
"if g = "on" then a + b * c else a - b * c"
I haven't been able to find anything on line that shows me if this is possible. If anyone can point to a good reference it would be appreciated, thanks.
KerryC
"if g = "on" then a + b * c else a - b * c"
I haven't been able to find anything on line that shows me if this is possible. If anyone can point to a good reference it would be appreciated, thanks.
KerryC