31.12.2013 Views

TOPS-20 PASCAL Language Manual - Bitsavers

TOPS-20 PASCAL Language Manual - Bitsavers

TOPS-20 PASCAL Language Manual - Bitsavers

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>PASCAL</strong> STATEMENTS<br />

Example 1<br />

Tollbooth (ChanSey 0.25, Lane[lJ);<br />

This statement calls the procedure Tollbooth, specifying the variable<br />

Change, the real constant 0.25, and the first element of the array<br />

Lane.<br />

ExampJe 2<br />

This statement calls the procedure Taxes, with the expression<br />

Rate*Income and the string constant 'Pay' as actual parameters.<br />

Example 3<br />

Halt;<br />

This statement calls the predeclared procedure Halt, which has no<br />

parameters.<br />

5-15

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!