Modula and its successor Modula-2 are strongly-typed, imperative programming languages developed in the 1970s by Niklaus Wirth; who also created the Pascal programming language. Modula allows code to be compiled in discrete units called modules, a technique today known as modular programming. The first versions of Modula ran on a PDP-11.
Hello World! in Modula-2
Below is an example of how someone could print “Hello World!” to the screen using Modula-2.
MODULE Hello;FROM STextIO IMPORT WriteString;BEGINWriteString(“Hello World!”);END Hello.
Module, Pascal, Programming terms