Pascal User Manual and Report: ISO Pascal Standardputer system. In 1971 one computer system had a Pascal compiler. By 1974 the number had grown to 10 and in 1979 there were more than 80. Pascal is always available on those ubiquitous breeds of computer systems: personal computers andl professional workstations. Questions arising out of the Southampton Symposium on Pascal in 1977 [Reference 10] began the first organized effort to write an officially sanctioned, international Pascal Standard. Participants sought to consolidate the list of questions that naturally arose when people tried to implement Pascal compilers using definitions found in the Pascal User Manual and Report. That effort culminated in the ISO 7185 Pascal Standard [Reference 11] which officially defines Pascal and necessitated the revision of this book. We have chosen to modify the User Manual and the Report with respect to the Standard - not to make this book a substitute for the Standard. As a result this book retains much of its readability and elegance which, we believe, set it apart from the Standard. We updated the syntactic notation to Niklaus Wirth's EBNF and improved the style of programs in the User Manual. For the convenience of readers familiar with previous editions of this book, we have included Appendix E which summarizes the changes necessitated by the Standard. |
Contents
B Syntax Diagrams | 3 |
A Fixed Records | 7 |
CHAPTER | 9 |
A Ordinal Data Types | 15 |
CHAPTER 3 | 21 |
F Procedure and Function Declaration Part | 27 |
6 | 32 |
B The Procedure Statement | 33 |
Notation and Terminology | 147 |
Record Types | 156 |
7 | 161 |
9 | 170 |
Blocks Scope and Activations | 177 |
Textfile Input and Output | 194 |
Compliance with ISO 7185 | 200 |
APPENDIX B Summary of Operators | 208 |
E Conditional Statements | 43 |
CHAPTER 5 | 50 |
A The Array Type | 56 |
B String Types | 63 |
CHAPTER 10 | 94 |
CHAPTER 7 | 101 |
B Functions | 122 |
A The Predeclared Files Input and Output | 128 |
Other editions - View all
Pascal User Manual and Report: ISO Pascal Standard Kathleen Jensen,Niklaus Wirth Limited preview - 2012 |
Common terms and phrases
A[Item actual parameter Algol 60 assignment base type begin Read Input begin Write Output binary tree block buffer variable C.A.R. Hoare character component type compound statement conformant-array parameter const constant identifiers Data Types defined denote Digit DigitSequence EBNF elements end end enumerated type eof F eoln error example execution expression Figure formal parameter forward declaration function declaration function identifier goto statement implementation implementation-defined index type Integer Item label ListSize LLink MaxElement MinMax NextPrime operands Ordinal Data Types ordinal number ordinal type packed array Palindrome Pascal PL/I pointer type PostOrder predeclared functions predeclared procedures predefined PreOrder procedure heading procedure or function procedure statement procedures and functions Produces as results Readln record type record variable Section sequence set constructor Sieve specified structured type subrange type succ symbol Syntax diagram textfile type Char type identifier undefined variable declaration variable identifier variable parameter variant Writeln Output