Programming in Modula-2

Front Cover

What people are saying - Write a review

LibraryThing Review

User Review  - Lyndatrue - LibraryThing

Dear Niklaus Wirth; this book made me want to stab my eyes, repeatedly. Thank goodness I never had to write this abominable language. I actually destroyed my PASCAL book by Wirth, rather than permit ... Read full review

Contents

j Preface
3
rt Parti 1 Introduction
5
A first example
7
A notation to describe syntax
10
Representation of Modula programs
12
Statements and expressions
15
Control structures
18
Elementary data types
24
Set types
65
Record types
67
Records with variant parts 70
73
Procedure types
78
Part 4
80
Definition and implementation parts
82
Program decomposition into modules
86
Local modules
93

Constant and variable declarations
32
The data structure Array
33
Part 2
43
Procedures
44
The concept of locality
46
Parameters
48
Function procedures
51
Recursion
54
Part 3
61
Enumeration types
63
Subrange types
64
Sequential input and output
100
Screenoriented input and output
113
Lowlevel facilities
125
Concurrent processes and coroutines
128
Device handling concurrency and interrupts
135
Report on the Programming Language Modula2
139
The Syntax of Modula2
167
The ASCII character set
171
Index
173
Copyright

Other editions - View all

Bibliographic information