Hi there,

I've written some code to calculate a price based on some options choosed by the client.

Now I would like to multiply this code by using a for statement and I am wondering if there is a way to have different variables for each run.

What I mean:

I have e.g.

for (i=1; i <= 3; i++) {
...
ammount1 = 0;
...
}

If i=1 the variable should be ammount1, if i=2 it should be ammount2 and so on. Is there a way to do this? ammount+i = 0 obviously doesn't work

Thanks and regards,

ASchweti