Free Pascal Reference guide 16.1 Programs
- source#39934 (closed)
- https://forum.lazarus.freepascal.org/index.php/topic,60780.msg455749/topicseen.html#new
16.1 Programs
...
The program header is provided for backwards compatibility, and is ignored by the compiler.
This is evidently not so, as for example {$R *.res}
takes the file name from the program identifier.
According to @PascalDragon in the forum the intended meaning was that the program header was optional, not requires, could be entirely omitted.