The elements of an array can be used as accumulators of data to be written to a report. writing out the contents of an array involves starting with the first element of the array and until all elements have been written. This can be represented by a simple loop. In the following pseudocode algorithm the name of the array is"array and the subscript is index The number of elements in the array is repre sented by number of elements.