For loop
Scripts example - For loop
// regional settings $decimalsymbol="."; $listseparator=","; // for loop example sum=0; for (i=1; i<=10; i++) { sum=sum+i; } print("sum = ",sum); println;
Output
sum = 55
// regional settings $decimalsymbol="."; $listseparator=","; // for loop example sum=0; for (i=1; i<=10; i++) { sum=sum+i; } print("sum = ",sum); println;
sum = 55