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.

USING <strong>PASCAL</strong> ON <strong>TOPS</strong>-<strong>20</strong><br />

The first character after the comment del imiter must be a doll~r sign<br />

(S); the dollar sign cannot be preceded by a space. Table 8-4 lists<br />

the switches you can specify in your source program. Note that you<br />

can optionally use a I-character abbreviation for each switch. The<br />

abbreviation is simply the first character of the switch name, except<br />

for CROSS-REFERENCE, which has X for an abbreviation.<br />

Table 8-4:<br />

Source Switches<br />

Abbreviation Full Command-Line Switch<br />

C CHECK CHECK<br />

L LTST LIST<br />

M MACHINE-CODE MACHINE-CODE<br />

N NATIONAL NATIONAL<br />

S STANDARD FLAG-NaN-STANDARD<br />

W WARNINGS WARNINGS<br />

X CROSS-REFERENCE CREF<br />

To enable a switch, specify a plus sign (+) after its name or<br />

abbreviation. To disable a switch, specify a minus sign (-) after its<br />

name or abbreviation. You can specify any number of switches. You<br />

can also include a text comment after the switches, separated from the<br />

list of switches by a semicolon.<br />

When specified in the source code, the LIST switch cannot contain a<br />

file specification. The listing file has the default specification<br />

described above.<br />

For example, to generate check code for only one procedure in a<br />

program, enable the CHECK switch before the procedure declaration, and<br />

disable it at the end of the procedure, as follows:<br />

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

Saved successfully!

Ooh no, something went wrong!