Enumerated Types
Table5.adb
- Table5.adb
- Pretty version of Table5.adb
- This version adds an alignment option
- New features:
- Define a new Type: Alignment
- Alignment is an Enumerated type
- Several new put procedures
- Enumeration IO
- Global constant: ColumnWidth
- Visible from point of declaration on - thus inside
all procedures
- Global constants are okay
- Function - like Java method with non-void return type