This document, the TOPS-20 PASCAL Primer, serves as an introduction to the PASCAL-20 programming language. It is designed for programmers familiar with high-level languages or those in an introductory course. The primer covers:
- Program Development: Steps to create, compile, link, and run PASCAL programs on TOPS-20.
- Data Concepts: Overview of scalar types (INTEGER, REAL, CHAR, BOOLEAN) and structured types (arrays and records).
- Syntax and Statements: Details on declarations, constant/variable definitions, and control statements (FOR, REPEAT, WHILE, IF-THEN-ELSE, CASE).
- Procedures and Functions: Information on subprogram declaration, parameters (value and variable), and calling conventions.
- Input/Output: Instructions for using terminal I/O.
The document includes helpful appendices covering predeclared procedures and functions, the ASCII character set, and a comprehensive glossary.