How do i create a script for an array
Posted on 2006-11-29
I need to create a Script were i have 3 colums and four rows I will have to put some default numbers in each text box and i guess the part that I really dont understand is how do i make the calculation to multiply down the colum and subtract from each row in a script format; for example
5 | 2 | 3
8 | 32 |1
4 | 9 | 10
17 | 15 | 12
I would like for my script to Multiply 5*8*4*17 and have the answer populate on a popup box and at the same time subract 5-2-3 and the answer populate on the same popup when i presss my calculate button.