4.10 Chapter Summary
This chapter covered these topics:
- what a procedure is
- how to write and invoke a procedure
- the difference between value and variable parameters
- how to write preconditions and postconditions for procedures
- what a function procedure is
- about some standard procedures in Modula-2
- some rules of style and good taste in naming procedures
- recursion
It included discussion of the following Modula-2 built-ins:
Reserved Words | Standard Identifiers |
FORWARD | CHR |
PROCEDURE | MAX |
RETURN | MIN |
VAR (new context) | ODD |
Imported Identifiers |
RealMath: |
exp |
ln |
sqrt |
power |
Contents