In fact, as a language, I liked Modula better than Pascal. But Modula never got the popularity of Pascal; I don't know why. The features that I liked about Modula and which are missing in Pascal are mentioned on this page.
Note: Modula is very much like Pascal. The reason being that Modula was designed/developed by the same person (Wirth) who 'invented' Pascal; Modula was meant to be the 'successor' of Pascal.
if a >= b then max := a else max := b end;Whether there is one statement or more statements in the then part (or the else part) makes no difference with respect to the use of begin and end.
uses Graphics, SysUtils, Windows;Modula has:
from Graphics import TBitmap; from SysUtils import IntToStr, Exception; from Windows import GlobalAllocPtr;This ensures that all identifiers that are used in a module / unit are always declared inside this unit and there is no ambiguity about 'double' identifiers that are exported by multiple units (TBitmap is an example of that).