content_image/728054.jpg
Produces as results,' 

<img src='content_image/728054.jpg'>

As a final example of for statements consider this program. 

program SummingTerms(Output); { Program 4.8 - Compute in four ways the series: 1 - 1/2 + 1/3 - ... + 1/9999 - 1/10000 1) left to right in succession, 2) left to right, all pos and neg terms then subtract, 3) right to left in succession, and 4) right to left, all pos and neg terms then subtract. } 

