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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ISO COMPLIANCE<br />

The function EOLN(f)<br />

is called when the result of EOF(f) is TRUE.<br />

Explanation:<br />

Detected at run time.<br />

A variable is not initialized before it is first used.<br />

Explanation:<br />

Not detected.<br />

In the expression X/Y, the value of Y is zero.<br />

ExplAnation:<br />

Detected at run time.<br />

In the expression I DIV J, the value of J<br />

is zero.<br />

Explanation:<br />

Detected at run time.<br />

In the expression T MOD J, the value of J<br />

is zero or negative.<br />

Explanation: Detected at run time if J is zero; not detected if<br />

J is negative.<br />

An operation or function involving integers does not conform to the<br />

mathematical rules for integer arithmetic.<br />

Explanation:<br />

Detected at run time.<br />

A function result is undefined when the function returns control to<br />

the calling block.<br />

Explanation:<br />

Not detected.<br />

The ordinal type of an expression is not assignment compatible with<br />

the type of the variable or function identifier to which it is<br />

assigned.<br />

Explanation:<br />

Detected at run time if checking was enabled during<br />

compilation.<br />

The set type of an expression is not assignment compatible with the<br />

type of the variable or functjon identifier to which it is assigned.<br />

Explanation:<br />

Detected at run time if checking was enabled during<br />

compilation.<br />

None of the case labels is equal in value to the case selector in a<br />

CASE statement.<br />

Explanation:<br />

Not detected.<br />

In a FOR statement, the type of the initial value is not assignment<br />

compatible with the type of the control variable, and the statement in<br />

the loop body is executed.<br />

Explanation:<br />

Detected at run time if checking was enabled during<br />

compilation. Assignment compatibility is not<br />

enforced if the statement in the loop body can<br />

never be executed.<br />

E-7

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

Saved successfully!

Ooh no, something went wrong!