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.

APPENDIX D<br />

SUMMARY OF <strong>PASCAL</strong>-<strong>20</strong> EXTENSIONS TO PROPOSED ISO STANDARD<br />

Category<br />

Extension<br />

Lexical and<br />

syntactical<br />

Semi reserved words:<br />

REM<br />

MODULE, OTHERWISE,<br />

Exponentiation operator (**)<br />

REM operator<br />

Binary, hexadecimal, and octal<br />

for integers<br />

notation<br />

Double-precision real data type<br />

Dollar sign ($) and underscore ()<br />

characters in identifiers<br />

Identifiers of up to 31 characters<br />

Predefined types<br />

Predeclared Procedures<br />

SINGLE, DOUBLE<br />

CLOSE, DATE, FIND, HALT,<br />

OPEN, TIME, MARK, RELEASE<br />

LINELIMIT,<br />

READ, READLN, WRITE,<br />

and WRITELN extensions<br />

Parameters of character string and<br />

enumerated types for READ and READLN<br />

Parameters of enumerated types for WRITE<br />

and WRITELN<br />

READ, READLN, WRITE,<br />

and WRITELN extensions<br />

Declarations<br />

Statements<br />

Procedures and Functions<br />

Optional carriage-control specification<br />

for text files with WRITE and WRITELN<br />

variable initialization<br />

OTHERWISE clause in CASE statement<br />

External procedure and function<br />

declar,ation<br />

Support for calling externally declared<br />

FORTRAN subroutines and for declaration<br />

of <strong>PASCAL</strong> subroutines that can be called<br />

by FOR'TRAN<br />

Compilation<br />

MODULE capability for combining<br />

declarations and definitions to be<br />

compiled independently from the main<br />

progralltl<br />

D-I

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

Saved successfully!

Ooh no, something went wrong!