I am working on a VERY ineficent method to calculate pi, it uses this equation.

((-1 * ((-1) ^ i))/((2 * i) - 1))*4

I was able to thread the equation down into individual components to improve run time a bit/ just for fun, but i am having issues with the main scrip entering variables into the subscripts (threads). How can i have one vbsscript start another then set variables within that subscript?

((-1 * ((-1) ^ i))/((2 * i) - 1))*4

I was able to thread the equation down into individual components to improve run time a bit/ just for fun, but i am having issues with the main scrip entering variables into the subscripts (threads). How can i have one vbsscript start another then set variables within that subscript?