Modula-2 Programming Help by Programmer's hub
Modula 2 programming language
Modula-2 is a computer programming language designed as a revision of Pascal programming language. Modula-2 works in modules to combine the different modules of program to create a application. Modula 2 provide the facility for the high level and low level programming which can be implement on the wide variety of microcomputers. It is used for the embedded system that require concurrency without the overhead of large operating system or large language. It contains simple and consistent rules of syntax which makes it easy to learn.
Modula 2 Programming code example
{` MODULE Hello; FROM STextIO IMPORT WriteString; BEGIN WriteString("Hello World!"); END Hello `}
Areas of Application
- Systems Programming
- Operating system
- Concurrent Programming
- Embedded Systems
- Software Engineering
- Education
Reserved Words
AND | ELSIF | LOOP | REPEAT |
ARRAY | END | MOD | RETURN |
BEGIN | EXIT | MODULE | SET |
BY | EXPORT | NOT | THEN |