5.10 Chapter Summary
This chapter covered these topics:
- abstract and transparent data types
- whole number, ordinal, and scalar types
- how to declare new variable types
- how to declare and use enumerated types
- subranges of ordinal and enumerated types
- new standard procedures and functions for ordinal types
- an introduction to the ARRAY OF CHAR as a string type
- the FOR structure for iterated loops
- nested loops
- arrays
- how to declare them
- how to assign them
- how to manipulate them
- how to pass them as parameters (including open arrays)
- multi-dimensional arrays
- how to declare them
- how to manipulate them
It included discussion of the following Modula-2 built-ins:
Reserved Words | Standard Identifiers |
ARRAY | HIGH |
BY | ORD |
FOR |
OF |
TO |
TYPE |
Symbols: |
( ) for enumerated type declarations |
[ ] for subranges |
Contents