RPG Array Operations - XFOOT (Summing the Elements of an Array)

Description: Sums all elements of an array and stores in result.

Legacy RPG400 Example:

C        XFOOT   ArrayName      Sum

Modern RPGLE Example:

dcl-s Sum packed(10:2);

Sum = %xfoot(ArrayName);
{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
>