hi,

here is my code :

Quote:
function mfj(a)
{
   if (a==0)
   {
      ja1+=a;ja2+=a;ja3+=a;ja4+=a;ja5+=a;ja6+=a;ja7+=a;ja8+=a;ja9+=a;ja10+=a;
   }
}

it would be nice if i could write it easier..
i know use simple argument, but its a little more complicated here.

for automate the jaX+=a list, i could do smt like

Quote:
i=0;
while (i<=10)
{
   ja(i)+=a;i++;

but it can't work this way.. right ?
does anyone have a solution for do this thing ? (like the second quote but working)

thanks