<p>The material for this book first appeared in the magazine Personal Computer World, as a series of articles which ran from September 1979 to June 1980. It was designed to appeal to a new (in 1979) sort of reader the microcomputer enthusiast, both amateur and professional about whom two assumptions
Modula-2 for Pascal Programmers
β Scribed by Richard Gleaves (auth.), Richard Gleaves (eds.)
- Publisher
- Springer-Verlag New York
- Year
- 1984
- Tongue
- English
- Leaves
- 150
- Series
- Springer Books on Professional Computing
- Edition
- 1
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
This book describes the programming language Modula-2. It is written for people who know the Pascal language and who wish to learn Modula-2 in terms of their knowledge of Pascal. The text is divided into three parts. Part 1 introduces concepts unique to Modula-2 and thus new to Pascal programmers. Part 2 describes differences from Pascal. Part 3 defines modules which provide basic programming facilities. The appendices include a glossary and syntax diagrams. Please note that this book does not offer a complete description of the Modula-2 language; it is intended to complement Niklaus Wirth's definitive book Programming in Modula-2 (Springer-Verlag, 1983). Some readers will recognize this book as being based upon the Volition Systems Modula-2 User's Manual. Enough has changed to merit its reappearance in this more dignified form: existing material has been reorganized to improve clarity; new material has been added to improve content. This book was written with the ASE text editor. The text was produced in camera-ready form on the Scenic LaserTezt composition system. I wish to thank the following people and organizations for their contributions to the development of this book: Volition Systems, for giving me the opportunity to write about Modula-2; Jim Merritt, for reviewing an early draft; the Institut far Informatik, ETH Zarich, for publishing a series of informative technical papers on Modula-2; and finally, all the pioneer users of Volition Systems Modula-2, for their patience and foresight and support.
β¦ Table of Contents
Front Matter....Pages i-x
Front Matter....Pages 1-1
Modules....Pages 3-12
Separately Compiled Modules....Pages 13-20
Program and Subprogram Modules....Pages 21-23
Utility Modules....Pages 24-25
The Module Library....Pages 26-28
Lowβlevel Programming....Pages 29-33
Coroutines and Interrupts....Pages 34-40
Procedure Variables....Pages 41-44
Front Matter....Pages 45-45
Vocabulary....Pages 47-49
Constants....Pages 50-53
Types....Pages 54-60
Expressions....Pages 61-63
Statements....Pages 64-72
Procedures and Functions....Pages 73-75
Standard Procedures....Pages 76-78
Blocks....Pages 79-81
Front Matter....Pages 83-83
Standard I/O....Pages 85-88
Text I/O....Pages 89-95
File I/O....Pages 96-104
Terminal I/O....Pages 105-105
Front Matter....Pages 83-83
Storage Management....Pages 106-106
Subprogram Calls....Pages 107-112
Strings....Pages 113-115
Format Conversion....Pages 116-117
Math Functions....Pages 118-118
Back Matter....Pages 119-147
β¦ Subjects
Programming Languages, Compilers, Interpreters; Programming Techniques
π SIMILAR VOLUMES
In 1985 Niklaus Wirth and Jurg Gutknecht embarked on a project to build a new workstation from scratch. The quote from Einstein: 'Make it as simple as possible, but not simpler' served as a signpost for their approach resulting in a system of exemplary lucidity, efficiency and compactness. Wirth was