Skip to main content
  • Book
  • © 1985

Modula-2

An Introduction

Authors:

  • 819 Accesses

Buy it now

Buying options

eBook USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (21 chapters)

  1. Front Matter

    Pages I-XI
  2. Introduction

    • Daniel Thalmann
    Pages 1-10
  3. Numbers

    • Daniel Thalmann
    Pages 11-18
  4. Constants, Variables and Data Types

    • Daniel Thalmann
    Pages 19-26
  5. The Boolean and CHAR Types

    • Daniel Thalmann
    Pages 27-39
  6. Basic Control Statements

    • Daniel Thalmann
    Pages 40-53
  7. The Input/Output Modules

    • Daniel Thalmann
    Pages 54-63
  8. Enumeration and Subrange Types

    • Daniel Thalmann
    Pages 64-71
  9. Other Control Statements

    • Daniel Thalmann
    Pages 72-85
  10. Array Types

    • Daniel Thalmann
    Pages 86-101
  11. Procedures and Locality

    • Daniel Thalmann
    Pages 102-121
  12. Transmission of Parameters and Scope

    • Daniel Thalmann
    Pages 122-131
  13. Function Procedures and Procedure Types

    • Daniel Thalmann
    Pages 132-144
  14. Recursion

    • Daniel Thalmann
    Pages 145-158
  15. Modules

    • Daniel Thalmann
    Pages 159-168
  16. Local Modules

    • Daniel Thalmann
    Pages 169-180
  17. Records

    • Daniel Thalmann
    Pages 181-196
  18. Sets

    • Daniel Thalmann
    Pages 197-209
  19. Streams

    • Daniel Thalmann
    Pages 210-216
  20. Dynamic Data Structures

    • Daniel Thalmann
    Pages 217-242

About this book

MODULA-2 is a new programming language which was created by Niklaus Wirth of the Swiss Federal Institute of Technology (ETH) in Zurich. The lan­ guage is derived from PASCAL: it includes all aspects of PASCAL and some­ times improves on them. Moreover, MODULA-2 includes the important "mod­ ule" concept, as well as multiprogramming capabilities and a way of implemen­ ting low-level software in an elegant manner. In summary, MODULA-2 may be used equally well as a general-purpose programming language and as a system implementation language. MODULA-2 provides the programmer with a good way of writing high quality software. In particular, modules are powerful tools for achieving modularity, reliability, readability, extensibility, reusability and ma­ chine-independence. This book presents the complete MODULA-21anguage from the beginning. Each topic is presented by means of numerous examples and each concept is justified. The syntax of the language is explained using syntactic diagrams. This book is not a reference manual for MODULA-2, but a textbook from which the student can learn the language progressively. The most important con­ cepts (i.e. procedures, modules and data structures) are explained in great detail and methodological aspects are also emphasized. Beginning in the first chapter, the student may execute his/her own pro­ grams. Program examples in this book have been executed on several machines (APPLE II, IBM PC and VAX 11/780) and they may be taken as a basis for stu­ dents.

Authors and Affiliations

  • Département d’Informatique et Recherche Opérationnelle, Université de Montréal, Montréal (Quebec), Canada

    Daniel Thalmann

Bibliographic Information

Buy it now

Buying options

eBook USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access