Lowering Assignations (GNU Algol 68 Compiler Internals)

## 4 Lowering Assignations ¶

Scope checking:

- If static scope checking is relevant and OK, then just perform assignation.
- If static scope checking is relevant and not OK, a compile-time error will have already being emitted.
- If static scope checking is not relevant, perform dynamic scope checking: each time a name, a routine or a format of the data structure is assigned, its dynamic scope (scope%_si) is compared with the one of the destination (scope%_d). A run-time error message is provided in case scope%_d < scope%_si.