**Modula-2**

This

**programming language**may be used to instruct a computer to perform a task.

Official website |
---|

Lang tag(s): | modula2 |
---|---|

See Also: |

**Your Help Needed**

If you know

**Modula-2**, please write code for some of the tasks not implemented in

**Modula-2**.

Modula-2 was designed by Niklaus Wirth at ETH Zurich as a systems implementation language for the operating system of the Lilith workstation, a project inspired by the Alto which Wirth had used during his sabbatical year at Xerox PARC in 1976. Modula-2 is a strongly typed language of the Pascal family and its predecessors are Mesa and Pascal. In Modula-2, Wirth had addressed most of the criticisms against Pascal. The most important concepts introduced were modularity and information hiding but also system access and concurrent programming. There are two main variants of Modula-2, the language described in Wirth's book "Programming in Modula-2" also known as PIM or classical Modula-2 and the revised and extended version produced by the ISO standards committee, known as ISO Modula-2.

## Contents

## Modula-2 FAQ[edit]

## Modula-2 Compilers[edit]

## Modula-2 Books & Tutorials[edit]

List of Modula-2 Books & Tutorials and

## Modula-2 Grammars[edit]

## Modula-2 Open Source Projects[edit]

## Modula-2 on IRC[edit]

## Subcategories

This category has the following 3 subcategories, out of 3 total.

## Pages in category "Modula-2"

The following 144 pages are in this category, out of 144 total.

### 2

### A

### C

- Caesar cipher
- Calculating the value of e
- Call a foreign-language function
- Cantor set
- Cartesian product of two or more lists
- Case-sensitivity of identifiers
- Catalan numbers
- Character codes
- Chinese remainder theorem
- Circles of given radius through two points
- Combinations
- Command-line arguments
- Comments
- Compound data type
- Conditional structures
- Continued fraction/Arithmetic/Construct from rational number
- Count in octal
- Create an HTML table
- Cycle detection

### D

### E

### F

### G

### H

### I

### L

### N

### P

### Q

### R

### S

- Sailors, coconuts and a monkey problem
- Sattolo cycle
- Self-describing numbers
- Shoelace formula for polygonal area
- Short-circuit evaluation
- Singly-linked list/Element definition
- Smith numbers
- Sort three variables
- Sorting algorithms/Bubble sort
- Sorting algorithms/Quicksort
- Split a character string based on change of character
- Subleq
- Subset sum problem
- Sum digits of an integer
- System time