Questions tagged [modula-2]

Modula-2 is a procedural programming language, created as a revision of Pascal. It was intended to fix shortcomings of Pascal which its designer, Niklaus Wirth, intended only as an instructional language. Modula-2 supports separate definition and implementation modules, coroutines, data abstraction, machine access support, and an extensive standard library for I/O, math, etc.

The Stack Overflow use of this tag is for questions related to any dialect or superset implementation of Modula-2.

The language and library documentation is the book Programming in Modula-2, 3rd edition, Springer Verlag, Berlin, 1985, by Niklaus Wirth. ISBN 978-0387116747

The Wikipedia article links to over two dozen implementations, four dialects, eight supersets, and eight derivative languages.

18 questions
0
votes
1 answer

Pseudo Transparent images

For an assignment at university we program in a pretty unknown language Modula 2, which lacks major graphic support. I was wondering how to achieve a 'transparency' effect on images, i figured it would work like this: Create a 2D array for the…
Samuel
  • 1
  • 1
0
votes
7 answers

Is there a good reason Uni courses still use "academic" languages like modula2?

This question prompts me to ask - why do universities still teach in languages like Modula2, when improved modern languages are available for free? Are there uni's that still teach Pascal, for example? I mean, it was good 30 years ago, but... now?…
Cheeso
  • 189,189
  • 101
  • 473
  • 713
0
votes
4 answers

tetris rotation

For university we're supposed to write a game (the language is modula2 little chance you know it). Each tetromino is defined through a central piece and 3 relative pieces, Now when it comes to rotation i just rotate the relative blocks (linear…
Samuel
  • 1
  • 1
  • 1
1
2