initialization(Goal)
When used within an entity (object, category, or protocol), this directive defines a goal to be called immediately after the container entity has been loaded into memory. When used at a global level within a source file, this directive defines a goal to be called immediately after the compiled source file is loaded into memory.
initialization(@goal)
:- initialization(init).