I understand i can use loop (like "for..." or something else ) but i want do my program text more readable.
I declare array:It is OK.Then i trying to get sum of entries of arrayCode:A:=Array(1..5,[1,2,3,4,5])
This yields error "Error,bad index into Array"Code:S:=sum(A[i],i=1..5)
How can i fix it?

