When the compiler encounters a resource directive, it just creates an entry in the unit .ppu le; it doesn't link the resource. Only when it creates a library or executable, it looks for all the resource les for which it encountered a directive, and tries to link them in.
The default extension for resource les is .res. When the lename has as the rst character an asterix (*), the compiler will replace the asterix with the name of the current unit, library or program.
Remark:This means that the asterix may only be used after a unit, library or program clause.