1.34. Dynamic modules

Modules can contain executable code, not just declarations. The executable code of a module is wrapped in an initialisation function. This function is called automatically by Felix, when the enclosing scope is initialised. The top level module's initialisation routine must be called manually by the driver program.

Modules can be nested in functions or procedures. In this case the data lives in the function or procedure stack frame, and the module is initialised every time the function is called.

[Add more later as features are implemented]