ALGOL does not provide any statement specifically for initiating compilations. However, an ALGOL program can submit a WFL job that includes a COMPILE statement. Alternatively, an ALGOL program can initiate a compiler like any other program, with a CALL, PROCESS, or RUN statement. An example of this method is given under ALGOL Examples later in this section.
A compiler takes a single, star (*)-bounded array parameter with the following format:
|
Word |
Field |
Name |
Value and Description |
|---|---|---|---|
|
0 |
[47:01] |
CANDECALLED |
Selects different default values for some compiler control options |
|
8 |
[09:10] |
COMPILETYPE |
Specifies the code file disposition. The following values are accessible:
|
-
The array must be at least 30 words long and not paged.
-
All other words and fields must be zero.
|
Failure to have all zeros in the remaining words of the array can lead to unexpected results at compile time or run time. |

Caution