This slide shows a slice of the procedure with respect to the output parameter sum. We see that in addition to the previous statements, the initialization of sum to zero and the incrementation of sum are included into the slice.